Skip to content

Commit

Permalink
update imports for strawberry 0.236.0
Browse files Browse the repository at this point in the history
  • Loading branch information
novag committed Oct 2, 2024
1 parent 550c23c commit e523c8e
Show file tree
Hide file tree
Showing 7 changed files with 882 additions and 606 deletions.
1,466 changes: 871 additions & 595 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ version_scheme = "no-guess-dev"
[tool.poetry.dependencies]
python = "^3.8"
sqlalchemy = {extras = ["asyncio"], version = ">=1.4"}
strawberry-graphql = ">=0.95"
strawberry-graphql = ">=0.236.0"
sentinel = ">=0.3,<1.1"
greenlet = {version = ">=3.0.0rc1", python = ">=3.12"}
sqlakeyset = "^2.0.1695177552"
Expand Down
6 changes: 3 additions & 3 deletions src/strawberry_sqlalchemy_mapper/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@
from sqlalchemy.orm import Query, Session
from strawberry import relay
from strawberry.annotation import StrawberryAnnotation
from strawberry.arguments import StrawberryArgument, argument
from strawberry.types.arguments import StrawberryArgument, argument
from strawberry.extensions.field_extension import (
FieldExtension,
)
from strawberry.field import (
from strawberry.types.field import (
_RESOLVER_TYPE,
StrawberryField,
)
from strawberry.permission import BasePermission
from strawberry.relay.exceptions import RelayWrongAnnotationError
from strawberry.relay.types import NodeIterableType
from strawberry.type import (
from strawberry.types.base import (
StrawberryList,
StrawberryOptional,
get_object_definition,
Expand Down
8 changes: 4 additions & 4 deletions src/strawberry_sqlalchemy_mapper/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
from sqlalchemy.sql.type_api import TypeEngine
from strawberry import relay
from strawberry.annotation import StrawberryAnnotation
from strawberry.field import StrawberryField
from strawberry.lazy_type import LazyType
from strawberry.private import is_private
from strawberry.types.field import StrawberryField
from strawberry.types.lazy_type import LazyType
from strawberry.types.private import is_private
from strawberry.scalars import JSON as StrawberryJSON
from strawberry.type import WithStrawberryObjectDefinition, get_object_definition
from strawberry.types.base import WithStrawberryObjectDefinition, get_object_definition
from strawberry.types import Info

from strawberry_sqlalchemy_mapper.exc import (
Expand Down
2 changes: 1 addition & 1 deletion src/strawberry_sqlalchemy_mapper/relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from strawberry import relay
from strawberry.relay.exceptions import NodeIDAnnotationError
from strawberry.relay.types import NodeType
from strawberry.type import StrawberryContainer, get_object_definition
from strawberry.types.base import StrawberryContainer, get_object_definition

if TYPE_CHECKING:
from typing_extensions import Literal, Self
Expand Down
2 changes: 1 addition & 1 deletion src/strawberry_sqlalchemy_mapper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
overload,
)

from strawberry.type import (
from strawberry.types.base import (
StrawberryContainer,
StrawberryType,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from sqlalchemy.dialects.postgresql.array import ARRAY
from sqlalchemy.orm import relationship
from strawberry.scalars import JSON as StrawberryJSON
from strawberry.type import StrawberryOptional
from strawberry.types.base import StrawberryOptional
from strawberry_sqlalchemy_mapper import StrawberrySQLAlchemyMapper


Expand Down

0 comments on commit e523c8e

Please sign in to comment.