graphql-python/graphene-django

Converters cannot convert datetime.timedelta to float.

Open

#348 aperta il 18 dic 2017

Vedi su GitHub
 (9 commenti) (3 reazioni) (0 assegnatari)Python (754 fork)batch import
help wanted✨enhancement

Metriche repository

Star
 (4173 star)
Metriche merge PR
 (Merge medio 12g 13h) (1 PR mergiata in 30 g)

Descrizione

hello devs. During a conversation about an issue of graphql-core @jkimbo found a possible error

https://github.com/graphql-python/graphene-django/blob/5051d3bb617ce6977eebc023c958bd10de91fe91/graphene_django/converter.py#L111-L113

raising something like { "message": "float() argument must be a string or a number, not 'datetime.timedelta'" }

you can check https://github.com/graphql-python/graphql-core/issues/150 for more info.

Guida contributor