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
Is your feature request related to a problem? Please describe.
I usually have a json which I convert to a DotWiz class for the dot notation, but since its a class, it would be nice to create a temporary / Dummy or Provided name for a type. So that I can do type(DotWiz(my_dict, 'SomeType')) and this could give me the type exactly as what I have currently in my dict.
Describe the solution you'd like
I get back a types for the DotWiz object which knows what attributes exist and which ones do not, because it knows of what type it is.
Describe alternatives you've considered
None
Additional context
I'm trying to generate the types for the dump return in a Marshmallow Schema. currently that is just DotWiz(MySchema().dump(event))
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I usually have a json which I convert to a DotWiz class for the dot notation, but since its a class, it would be nice to create a temporary / Dummy or Provided name for a type. So that I can do type(DotWiz(my_dict, 'SomeType')) and this could give me the type exactly as what I have currently in my dict.
Describe the solution you'd like
I get back a types for the DotWiz object which knows what attributes exist and which ones do not, because it knows of what type it is.
Describe alternatives you've considered
None
Additional context
I'm trying to generate the types for the dump return in a Marshmallow Schema. currently that is just DotWiz(MySchema().dump(event))
The text was updated successfully, but these errors were encountered: