bootgraph 1.5.0.dev23477__tar.gz → 1.5.0.dev23480__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.5.0.dev23477 → bootgraph-1.5.0.dev23480}/PKG-INFO +5 -5
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/README.md +4 -4
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/schemas/generators.py +4 -4
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/pyproject.toml +1 -1
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/LICENSE +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/__init__.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/database/__init__.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/database/operations.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/database/utils.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/dl.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/models.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/router.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/schemas/__init__.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/schemas/models.py +0 -0
- {bootgraph-1.5.0.dev23477 → bootgraph-1.5.0.dev23480}/bootgraph/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bootgraph
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev23480
|
|
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
|
|
@@ -39,7 +39,7 @@ Description-Content-Type: text/markdown
|
|
|
39
39
|
[](https://graphemy.readthedocs.io/en/latest/?badge=latest)
|
|
40
40
|
[](https://codecov.io/gh/MDoreto/graphemy)
|
|
41
41
|

|
|
42
|
-
<a href="https://pypi.org/project/
|
|
42
|
+
<a href="https://pypi.org/project/bootgraph" target="_blank">
|
|
43
43
|
<img src="https://img.shields.io/pypi/v/graphemy?color=%2334D058&label=pypi%20package" alt="Package version">
|
|
44
44
|
</a>
|
|
45
45
|
|
|
@@ -84,7 +84,7 @@ I recomend you use Poetry, but you can use the enviroment manager that you want.
|
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
86
|
# Create poetry project
|
|
87
|
-
poetry new
|
|
87
|
+
poetry new bootgraph tutorial
|
|
88
88
|
|
|
89
89
|
# Start Environment
|
|
90
90
|
poetry shell
|
|
@@ -94,10 +94,10 @@ You can also use the environment manager wanted, such as virtualenv
|
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
96
|
# Create a directory for tutorial
|
|
97
|
-
mkdir
|
|
97
|
+
mkdir bootgraph-tutorial
|
|
98
98
|
|
|
99
99
|
# Enter into that directory
|
|
100
|
-
cd
|
|
100
|
+
cd bootgraph
|
|
101
101
|
|
|
102
102
|
# Create virtual environment
|
|
103
103
|
python -m venv venv
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
[](https://graphemy.readthedocs.io/en/latest/?badge=latest)
|
|
12
12
|
[](https://codecov.io/gh/MDoreto/graphemy)
|
|
13
13
|

|
|
14
|
-
<a href="https://pypi.org/project/
|
|
14
|
+
<a href="https://pypi.org/project/bootgraph" target="_blank">
|
|
15
15
|
<img src="https://img.shields.io/pypi/v/graphemy?color=%2334D058&label=pypi%20package" alt="Package version">
|
|
16
16
|
</a>
|
|
17
17
|
|
|
@@ -56,7 +56,7 @@ I recomend you use Poetry, but you can use the enviroment manager that you want.
|
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
# Create poetry project
|
|
59
|
-
poetry new
|
|
59
|
+
poetry new bootgraph tutorial
|
|
60
60
|
|
|
61
61
|
# Start Environment
|
|
62
62
|
poetry shell
|
|
@@ -66,10 +66,10 @@ You can also use the environment manager wanted, such as virtualenv
|
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
68
|
# Create a directory for tutorial
|
|
69
|
-
mkdir
|
|
69
|
+
mkdir bootgraph-tutorial
|
|
70
70
|
|
|
71
71
|
# Enter into that directory
|
|
72
|
-
cd
|
|
72
|
+
cd bootgraph
|
|
73
73
|
|
|
74
74
|
# Create virtual environment
|
|
75
75
|
python -m venv venv
|
|
@@ -141,7 +141,7 @@ def get_many_relation_function(
|
|
|
141
141
|
# Define the return type using Strawberry's lazy type resolution
|
|
142
142
|
return_type = Annotated[
|
|
143
143
|
f"{class_type}Schema",
|
|
144
|
-
strawberry.lazy("
|
|
144
|
+
strawberry.lazy("bootgraph.router"),
|
|
145
145
|
]
|
|
146
146
|
if is_list:
|
|
147
147
|
return_type = CountableConnection[return_type]
|
|
@@ -159,7 +159,7 @@ def get_many_relation_function(
|
|
|
159
159
|
filters: (
|
|
160
160
|
Annotated[
|
|
161
161
|
f"{class_type}Filter",
|
|
162
|
-
strawberry.lazy("
|
|
162
|
+
strawberry.lazy("bootgraph.router"),
|
|
163
163
|
]
|
|
164
164
|
| None
|
|
165
165
|
) = None,
|
|
@@ -323,7 +323,7 @@ def get_dl_function(
|
|
|
323
323
|
# Define the return type using Strawberry's lazy type resolution
|
|
324
324
|
return_type = Annotated[
|
|
325
325
|
f"{class_type}Schema",
|
|
326
|
-
strawberry.lazy("
|
|
326
|
+
strawberry.lazy("bootgraph.router"),
|
|
327
327
|
]
|
|
328
328
|
if is_list:
|
|
329
329
|
return_type = list[return_type]
|
|
@@ -336,7 +336,7 @@ def get_dl_function(
|
|
|
336
336
|
filters: (
|
|
337
337
|
Annotated[
|
|
338
338
|
f"{class_type}Filter",
|
|
339
|
-
strawberry.lazy("
|
|
339
|
+
strawberry.lazy("bootgraph.router"),
|
|
340
340
|
]
|
|
341
341
|
| None
|
|
342
342
|
) = None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "bootgraph"
|
|
3
|
-
version = "v1.5.0.
|
|
3
|
+
version = "v1.5.0.dev23480"
|
|
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
|