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
I'm working on refactoring the pypolestar library to use native Python dataclasses as the main data model. The goal is to expose only these models and hide the GraphQL representation. It will still be possible to perform raw GraphQL queries when needed as well as the latest data from a specific operation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working on refactoring the
pypolestar
library to use native Python dataclasses as the main data model. The goal is to expose only these models and hide the GraphQL representation. It will still be possible to perform raw GraphQL queries when needed as well as the latest data from a specific operation.Work in progress at https://github.com/pypolestar/polestar_api/blob/518d0691f239e92d6049641822a2ed7eb999238f/custom_components/polestar_api/pypolestar/models.py for those interested.
Beta Was this translation helpful? Give feedback.
All reactions