Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Jan 10, 2024
1 parent b1b58e7 commit cda5733
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nextlinegraphql/plugins/graphql/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ def _compose_schema(hook: PluginManager) -> BaseSchema:


class _EGraphQL(GraphQL):
"""Extend the strawberry GraphQL app
'''Extend the strawberry GraphQL app to override the `get_context` method
This class is implemented in the way described in the strawberry document:
https://strawberry.rocks/docs/integrations/asgi
"""
'''

def set_hook(self, hook: PluginManager) -> '_EGraphQL':
self._hook = hook
Expand Down

0 comments on commit cda5733

Please sign in to comment.