Skip to content

Commit

Permalink
Fix for import from graphql-relay-py (#329) (#330)
Browse files Browse the repository at this point in the history
* Add newlines to make pre-commit happy

* Fix import from graphql_relay

The module name was deprecated, but all imports
should be made from the top level anyway.
  • Loading branch information
Cito committed Apr 27, 2022
1 parent 7bf0aa5 commit 771f4f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Run lint 💅
run: tox
env:
TOXENV: flake8
TOXENV: flake8
3 changes: 1 addition & 2 deletions graphene_sqlalchemy/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from graphene import NonNull
from graphene.relay import Connection, ConnectionField
from graphene.relay.connection import connection_adapter, page_info_adapter
from graphql_relay.connection.arrayconnection import \
connection_from_array_slice
from graphql_relay import connection_from_array_slice

from .batching import get_batch_resolver
from .utils import EnumValue, get_query
Expand Down

0 comments on commit 771f4f5

Please sign in to comment.