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
Easiest way to do this by having the response saved in a dict of Resource class and return instance of resource class itself. Then we can have methods like save / destroy which act on these resource class.
How about using Pydantic (https://docs.pydantic.dev/) for representing the data? It's main purpose is data validation but it's also easy to parse and represent JSON data with its model classes and converting them back to a dict.
Adding the possibility to instanciate Zammad Objects, instead of having to handle dicts. (See Issue #202)
The text was updated successfully, but these errors were encountered: