Skip to content

Support introspecting Pydantic model attributes#221

Merged
jodal merged 1 commit intomainfrom
proxy-obj-with-pydantic-model
Oct 11, 2024
Merged

Support introspecting Pydantic model attributes#221
jodal merged 1 commit intomainfrom
proxy-obj-with-pydantic-model

Conversation

@jodal
Copy link
Copy Markdown
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.
@codecov
Copy link
Copy Markdown

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
@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