graphql-python / graphql-python/graphene-django

Converters cannot convert datetime.timedelta to float.

Open
#348 9 comments 3 reactions 0 assignees View on GitHub
✨enhancement help wanted
Dominant language
Python
Stars
4.4k
Forks
760
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.