Skip to content

Commit

Permalink
Upgrade strawberry-graphql.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Jan 15, 2025
1 parent 0eb2531 commit 8ccd313
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ from sqlalchemy import inspect
from sqlalchemy.engine.row import RowMapping
from sqlalchemy.ext.asyncio import AsyncSession
from platformics.graphql_api import relay
from strawberry.field import StrawberryField
from strawberry.types import Info
from support.limit_offset import LimitOffsetClause
from typing_extensions import TypedDict
Expand Down
2 changes: 1 addition & 1 deletion platformics/graphql_api/core/strawberry_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from fastapi.dependencies.models import Dependant
from fastapi.params import Depends as DependsClass
from strawberry.extensions import FieldExtension
from strawberry.field import StrawberryField
from strawberry.types import Info
from strawberry.types.field import StrawberryField


def get_func_with_only_deps(func: typing.Callable[..., typing.Any]) -> typing.Callable[..., typing.Any]:
Expand Down
8 changes: 4 additions & 4 deletions platformics/graphql_api/relay/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@

import strawberry
from strawberry.annotation import StrawberryAnnotation
from strawberry.arguments import StrawberryArgument, argument
from strawberry.extensions.field_extension import (
AsyncExtensionResolver,
FieldExtension,
SyncExtensionResolver,
)
from strawberry.field import _RESOLVER_TYPE, StrawberryField, field
from strawberry.lazy_type import LazyType
from strawberry.type import StrawberryList, StrawberryOptional
from strawberry.types.arguments import StrawberryArgument, argument
from strawberry.types.base import StrawberryList, StrawberryOptional
from strawberry.types.field import _RESOLVER_TYPE, StrawberryField, field
from strawberry.types.fields.resolver import StrawberryResolver
from strawberry.types.lazy_type import LazyType
from strawberry.utils.aio import asyncgen_to_list
from strawberry.utils.typing import eval_type
from typing_extensions import Annotated, get_origin
Expand Down
10 changes: 5 additions & 5 deletions platformics/graphql_api/relay/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
)

import strawberry
from strawberry.field import field
from strawberry.object_type import interface, type
from strawberry.private import StrawberryPrivate

# from strawberry.relay import GlobalID
# from strawberry.relay import Node as StrawberryNode
from strawberry.type import StrawberryContainer, get_object_definition
from strawberry.types import get_object_definition
from strawberry.types.base import StrawberryContainer, StrawberryObjectDefinition
from strawberry.types.field import field
from strawberry.types.info import Info # noqa: TCH001
from strawberry.types.types import StrawberryObjectDefinition
from strawberry.types.object_type import interface, type
from strawberry.types.private import StrawberryPrivate
from strawberry.utils.aio import aenumerate, aislice, resolve_awaitable
from strawberry.utils.inspect import in_async_context
from strawberry.utils.typing import eval_type, is_classvar
Expand Down
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ linkml = "^1.5.7"
strcase = "^1.0.0"
linkml-runtime = "^1.6.0"
sqlalchemy_utils = "^0.41.1"
strawberry-graphql = "^0.217.0"
strawberry-graphql = "0.257.0"

[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
Expand Down

0 comments on commit 8ccd313

Please sign in to comment.