Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support introspecting Pydantic model attributes #221

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

jodal
Copy link
Owner

@jodal jodal commented Oct 11, 2024

The fix is simply to change the order of proxy and attr in the
comparision so that proxy's known implementation is used instead of the
Pydantic model's implementation.

This fixes an infinite recursion error in the introspection done when
creating an actor proxy.

The fix is simply to change the order of `proxy` and `attr` in the
comarision so that `proxy`'s known implementation is used instead of the
Pydantic model's implementation.

This fixes an infinite recursion error in the introspection done when
creating an actor proxy.
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.32%. Comparing base (1dbae20) to head (528e98f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #221   +/-   ##
=======================================
  Coverage   93.32%   93.32%           
=======================================
  Files          14       14           
  Lines         554      554           
  Branches       47       47           
=======================================
  Hits          517      517           
  Misses         32       32           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jodal jodal merged commit ddad907 into main Oct 11, 2024
12 checks passed
@jodal jodal deleted the proxy-obj-with-pydantic-model branch October 11, 2024 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant