You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing safety check around the retrieval of `__dict__` are too
strict and lead to many objects not being captured down to their fields.
This change relaxes the condition on safety by ensuring that we can get
an instance of `__dict__` that is of the _exact_ type `dict`.
## Risks
The example that was found in the FastAPI is probably quite exotic as we
don't expect actual objects to implement a `__dict__` attribute on a
class with potential side-effects.
0 commit comments