graphique 2.0__tar.gz → 2.0.1__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.
- {graphique-2.0 → graphique-2.0.1}/PKG-INFO +3 -2
- {graphique-2.0 → graphique-2.0.1}/graphique/middleware.py +4 -8
- {graphique-2.0 → graphique-2.0.1}/graphique/models.py +4 -4
- {graphique-2.0 → graphique-2.0.1}/graphique.egg-info/PKG-INFO +3 -2
- {graphique-2.0 → graphique-2.0.1}/graphique.egg-info/requires.txt +1 -1
- {graphique-2.0 → graphique-2.0.1}/pyproject.toml +3 -2
- {graphique-2.0 → graphique-2.0.1}/LICENSE.txt +0 -0
- {graphique-2.0 → graphique-2.0.1}/README.md +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/__init__.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/core.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/inputs.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/interface.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/py.typed +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/scalars.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/service.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique/shell.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique.egg-info/SOURCES.txt +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique.egg-info/dependency_links.txt +0 -0
- {graphique-2.0 → graphique-2.0.1}/graphique.egg-info/top_level.txt +0 -0
- {graphique-2.0 → graphique-2.0.1}/setup.cfg +0 -0
- {graphique-2.0 → graphique-2.0.1}/tests/test_core.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/tests/test_dataset.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/tests/test_models.py +0 -0
- {graphique-2.0 → graphique-2.0.1}/tests/test_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphique
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: GraphQL service for python dataframes and parquet datasets.
|
|
5
5
|
Author-email: Aric Coady <aric.coady@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
22
|
Classifier: Topic :: Database :: Database Engines/Servers
|
|
22
23
|
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
23
24
|
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
|
|
@@ -27,7 +28,7 @@ Requires-Python: >=3.10
|
|
|
27
28
|
Description-Content-Type: text/markdown
|
|
28
29
|
License-File: LICENSE.txt
|
|
29
30
|
Requires-Dist: pyarrow>=20
|
|
30
|
-
Requires-Dist: strawberry-graphql[asgi,cli]>=0.
|
|
31
|
+
Requires-Dist: strawberry-graphql[asgi,cli]>=0.285
|
|
31
32
|
Requires-Dist: ibis-framework>=10.7
|
|
32
33
|
Requires-Dist: pyarrow-hotfix
|
|
33
34
|
Requires-Dist: isodate>=0.7
|
|
@@ -50,14 +50,10 @@ class GraphQL(strawberry.asgi.GraphQL):
|
|
|
50
50
|
|
|
51
51
|
def __init__(self, root: Source, metrics: bool = False, **kwargs):
|
|
52
52
|
options: dict = dict(self.options, extensions=[MetricsExtension] if metrics else [])
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
else:
|
|
58
|
-
self.root_value = implemented(root)
|
|
59
|
-
schema = strawberry.Schema(type(self.root_value), **options)
|
|
60
|
-
super().__init__(schema, **kwargs)
|
|
53
|
+
self.root_value, Schema = root, strawberry.federation.Schema
|
|
54
|
+
if isinstance(root, Source):
|
|
55
|
+
self.root_value, Schema = implemented(root), strawberry.Schema
|
|
56
|
+
super().__init__(Schema(type(self.root_value), **options), **kwargs)
|
|
61
57
|
|
|
62
58
|
async def get_root_value(self, request):
|
|
63
59
|
return self.root_value
|
|
@@ -169,7 +169,7 @@ class GenericColumn(Generic[T], Column):
|
|
|
169
169
|
|
|
170
170
|
@Column.register(date, datetime, time)
|
|
171
171
|
@strawberry.type(name='Column', description=f"[temporal column]({links.ref}/expression-temporal)")
|
|
172
|
-
class TemporalColumn(GenericColumn[T]): ...
|
|
172
|
+
class TemporalColumn(GenericColumn[T]): ... # pragma: no branch
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
@Column.register(timedelta, pa.MonthDayNano)
|
|
@@ -180,12 +180,12 @@ class TemporalColumn(GenericColumn[T]): ...
|
|
|
180
180
|
|
|
181
181
|
Interval support varies by backend; durations may still be useful for computation and as scalar inputs.""",
|
|
182
182
|
)
|
|
183
|
-
class DurationColumn(GenericColumn[T]): ...
|
|
183
|
+
class DurationColumn(GenericColumn[T]): ... # pragma: no branch
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
@Column.register(str)
|
|
187
187
|
@strawberry.type(name='ingColumn', description=f"[string column]({links.ref}/expression-strings)")
|
|
188
|
-
class StringColumn(GenericColumn[T]): ...
|
|
188
|
+
class StringColumn(GenericColumn[T]): ... # pragma: no branch
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
@Column.register(float, Decimal)
|
|
@@ -245,7 +245,7 @@ class IntColumn(NumericColumn[T]):
|
|
|
245
245
|
|
|
246
246
|
@Column.register(list)
|
|
247
247
|
@strawberry.type(description=f"[array column]({links.ref}/expression-collections)")
|
|
248
|
-
class ArrayColumn(Column): ...
|
|
248
|
+
class ArrayColumn(Column): ... # pragma: no branch
|
|
249
249
|
|
|
250
250
|
|
|
251
251
|
@Column.register(dict)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphique
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: GraphQL service for python dataframes and parquet datasets.
|
|
5
5
|
Author-email: Aric Coady <aric.coady@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
22
|
Classifier: Topic :: Database :: Database Engines/Servers
|
|
22
23
|
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
|
|
23
24
|
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
|
|
@@ -27,7 +28,7 @@ Requires-Python: >=3.10
|
|
|
27
28
|
Description-Content-Type: text/markdown
|
|
28
29
|
License-File: LICENSE.txt
|
|
29
30
|
Requires-Dist: pyarrow>=20
|
|
30
|
-
Requires-Dist: strawberry-graphql[asgi,cli]>=0.
|
|
31
|
+
Requires-Dist: strawberry-graphql[asgi,cli]>=0.285
|
|
31
32
|
Requires-Dist: ibis-framework>=10.7
|
|
32
33
|
Requires-Dist: pyarrow-hotfix
|
|
33
34
|
Requires-Dist: isodate>=0.7
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "graphique"
|
|
3
|
-
version = "2.0"
|
|
3
|
+
version = "2.0.1"
|
|
4
4
|
description = "GraphQL service for python dataframes and parquet datasets."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -17,6 +17,7 @@ classifiers = [
|
|
|
17
17
|
"Programming Language :: Python :: 3.11",
|
|
18
18
|
"Programming Language :: Python :: 3.12",
|
|
19
19
|
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Programming Language :: Python :: 3.14",
|
|
20
21
|
"Topic :: Database :: Database Engines/Servers",
|
|
21
22
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
22
23
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
@@ -25,7 +26,7 @@ classifiers = [
|
|
|
25
26
|
]
|
|
26
27
|
dependencies = [
|
|
27
28
|
"pyarrow>=20",
|
|
28
|
-
"strawberry-graphql[asgi,cli]>=0.
|
|
29
|
+
"strawberry-graphql[asgi,cli]>=0.285",
|
|
29
30
|
"ibis-framework>=10.7",
|
|
30
31
|
"pyarrow-hotfix",
|
|
31
32
|
"isodate>=0.7",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|