Comments (3)
I think it's a good idea to make it available. Both a better default scenario as well as the ability to specify serializers. Happy to review a PR, if this something you'd like to work on.
from aiographql-client.
Sorry for the delayed response. I'd be interested in working on this yes! Though I think I might need a bit of guidance.
I've searched through the code and seems to me that most of the PR might consist of simply adding a parameter to the aiohttp
calls and any of it's dependents.
However, for the exceptions.py
and request.py
files, it doesn't seem to be that simple; as they don't really have an API that can be changed (IMO).
Let me know your thoughts!
from aiographql-client.
Also run into this using mashumaro.mixins.json
's DataClassJSONMixin
for datetime fields (e.g.,
@dataclass
class Test(DataClassJSONMixin):
id: "str"
createdAt: datetime = field(metadata={"deserialize": dateutil.parser.isoparse})
updatedAt: datetime = field(metadata={"deserialize": dateutil.parser.isoparse})
and getting TypeError: Object of type datetime is not JSON serializable
. Not sure if its something that could be hotpatched or requires a custom JSON serializer?
from aiographql-client.
Related Issues (10)
- Dependabot couldn't reach https://nexus.eng.twyla.ai/repository/pypi-private/simple/ as it timed out
- Add support ujson v4 HOT 2
- Unclosed client session client_session: <aiohttp.client.ClientSession..> HOT 1
- Some issues with the subscriptions handling HOT 4
- Customize Payload on `CONNECTION_INIT`
- Get deserialised typed objects from GraphQLResponse
- Allow disabling introspection
- Installation failed with python 3.11 HOT 2
- Can't install it using pip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiographql-client.