Add comment to code
This commit is contained in:
parent
ad8409f783
commit
3e2b1f66a9
|
|
@ -46,6 +46,12 @@ def get_graphql_query(filename):
|
|||
|
||||
|
||||
def get_graphql_mutation(filename):
|
||||
"""
|
||||
Get the GraphQL mutation from the mutation directory
|
||||
:param filename: the filename of the mutation
|
||||
:return: the mutation
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
with io.open(os.path.join(settings.GRAPHQL_MUTATIONS_DIR, filename)) as f:
|
||||
|
|
|
|||
Loading…
Reference in New Issue