Skip to content

Commit

Permalink
Merge pull request #131 from simonsobs/dependabot/pip/ci/latest/straw…
Browse files Browse the repository at this point in the history
…berry-graphql-0.246.0

Bump strawberry-graphql from 0.242.0 to 0.246.0 in /ci/latest
  • Loading branch information
TaiSakuma authored Oct 7, 2024
2 parents cca2fdf + 8ad9955 commit 7591e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/latest/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ nextline==0.7.16
apluggy==1.0.2
dynaconf==3.2.6
starlette==0.38.5
strawberry-graphql==0.242.0
strawberry-graphql==0.246.0
websockets==13.1
rich==13.8.1
async-asgi-testclient==1.4.11
Expand Down
4 changes: 1 addition & 3 deletions nextlinegraphql/plugins/graphql/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ def set_hook(self, hook: PluginManager) -> '_EGraphQL':
return self

async def get_context(
self,
request: 'Request | WebSocket',
response: Optional['Response'] = None,
self, request: 'Request | WebSocket', response: 'Response | WebSocket'
) -> Optional[Any]:
context = {'request': request, 'response': response}
self._hook.hook.update_strawberry_context(context=context)
Expand Down

0 comments on commit 7591e96

Please sign in to comment.