bootgraph 1.8.0.dev24099__tar.gz → 1.9.0.dev24128__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/PKG-INFO +1 -1
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/router.py +1 -1
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/schemas/generators.py +5 -5
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/pyproject.toml +1 -1
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/LICENSE +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/README.md +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/__init__.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/database/__init__.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/database/operations.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/database/utils.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/dl.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/models.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/schemas/__init__.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/schemas/models.py +0 -0
- {bootgraph-1.8.0.dev24099 → bootgraph-1.9.0.dev24128}/bootgraph/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: bootgraph
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0.dev24128
|
|
4
4
|
Summary: A Python library for integrating SQLModel and Strawberry, providing a seamless GraphQL integration with FastAPI and advanced features for database interactions.
|
|
5
5
|
Home-page: https://github.com/MDoreto/graphemy
|
|
6
6
|
License: MIT
|
|
@@ -89,13 +89,13 @@ def set_schema(
|
|
|
89
89
|
))
|
|
90
90
|
|
|
91
91
|
if not cls.__strawberry_schema__:
|
|
92
|
-
extra_schema = strawberry.type(cls.Strawberry, name=f"{cls.__name__}
|
|
92
|
+
extra_schema = strawberry.type(cls.Strawberry, name=f"{cls.__name__}")
|
|
93
93
|
strawberry_schema = strawberry.experimental.pydantic.type(
|
|
94
|
-
cls, all_fields=True, name=
|
|
94
|
+
cls, all_fields=True, name=cls.__name__
|
|
95
95
|
)(Schema)
|
|
96
96
|
if extra_schema.__annotations__:
|
|
97
97
|
strawberry_schema = merge_types(
|
|
98
|
-
|
|
98
|
+
cls.__name__, (strawberry_schema, extra_schema)
|
|
99
99
|
)
|
|
100
100
|
cls.__strawberry_schema__ = strawberry_schema
|
|
101
101
|
|
|
@@ -140,7 +140,7 @@ def get_many_relation_function(
|
|
|
140
140
|
|
|
141
141
|
# Define the return type using Strawberry's lazy type resolution
|
|
142
142
|
return_type = Annotated[
|
|
143
|
-
f"{class_type}
|
|
143
|
+
f"{class_type}",
|
|
144
144
|
strawberry.lazy("bootgraph.router"),
|
|
145
145
|
]
|
|
146
146
|
if is_list:
|
|
@@ -322,7 +322,7 @@ def get_dl_function(
|
|
|
322
322
|
|
|
323
323
|
# Define the return type using Strawberry's lazy type resolution
|
|
324
324
|
return_type = Annotated[
|
|
325
|
-
f"{class_type}
|
|
325
|
+
f"{class_type}", # Schema
|
|
326
326
|
strawberry.lazy("bootgraph.router"),
|
|
327
327
|
]
|
|
328
328
|
if is_list:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "bootgraph"
|
|
3
|
-
version = "v1.
|
|
3
|
+
version = "v1.9.0.dev24128"
|
|
4
4
|
description = "A Python library for integrating SQLModel and Strawberry, providing a seamless GraphQL integration with FastAPI and advanced features for database interactions."
|
|
5
5
|
authors = ["Matheus Doreto <matheusdoreto.md@gmail.com>", "Pavel Mulin <mulin.pasha@gmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|