mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-05-11 19:33:49 +03:00
Without explicitly setting the encoding to "utf-8" I get the following error on windows (python 3.9) ``` File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 115, in handle self.get_schema(schema, out, indent) File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 72, in get_schema self.save_graphql_file(out, schema) File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 59, in save_graphql_file outfile.write(print_schema(schema.graphql_schema)) File "C:\Users\u\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] ``` |
||
---|---|---|
.. | ||
debug | ||
filter | ||
forms | ||
management | ||
rest_framework | ||
static/graphene_django | ||
templates/graphene | ||
tests | ||
utils | ||
__init__.py | ||
compat.py | ||
conftest.py | ||
constants.py | ||
converter.py | ||
fields.py | ||
registry.py | ||
settings.py | ||
types.py | ||
views.py |