graphql-python/graphene-django

Converters cannot convert datetime.timedelta to float.

开放

#348 创建于 2017年12月18日

 (9 条评论) (3 个反应) (0 位负责人)Python (754 个派生)batch import
help wanted✨enhancement

仓库指标

星标
 (4,173 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南