graphql-python / graphql-python/flask-graphql

AttributeError exception in parse_body() function

未關閉
#37 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
1.3k
分支
139
PR 合併指標
30 天內沒有已合併 PR

描述

Hello guys,
I playing with GraphQL and I received this exception AttributeError str' object has no attribute 'decode' with python 3.
I'd like to propose distinction between 'str' and 'unicode' in GraphQLView class function parse_body()
Thanks
Martin

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Locate GraphQLView.parse_body() and read how it handles request bodies under Python 3. Reproduce the reported AttributeError, then verify that string and Unicode inputs are handled distinctly without changing the behavior for other body types.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
flask, python
領域
api, backend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。