graphql-python / graphql-python/flask-graphql
AttributeError exception in parse_body() function
Aberta
- Linguagem predominante
- Python
- Estrelas
- 1.3k
- Forks
- 139
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- flask, python
- Domínio
- api, backend
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100