dokuments 3.1.1__tar.gz → 3.2.0__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.
- {dokuments-3.1.1 → dokuments-3.2.0}/.gitignore +3 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/PKG-INFO +2 -2
- dokuments-3.2.0/dokuments/_tested.json +1 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/arkitekt.py +6 -1
- {dokuments-3.1.1 → dokuments-3.2.0}/pyproject.toml +5 -1
- {dokuments-3.1.1 → dokuments-3.2.0}/README.md +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/__init__.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/api/project.json +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/api/schema.graphql +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/api/schema.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/contrib/__init__.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/contrib/fakts/__init__.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/datalayer.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/dokuments.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/io/__init__.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/io/download.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/links/upload.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/py.typed +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/rath.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/scalars.py +0 -0
- {dokuments-3.1.1 → dokuments-3.2.0}/dokuments/traits.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: dokuments
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: The python client for dokuments, the arkitekt document service
|
|
5
5
|
Author-email: jhnnsrs <jhnnsrs@gmail.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
7
7
|
Requires-Dist: aiohttp<4,>=3.9.5
|
|
8
|
-
Requires-Dist: arkitekt-spec>=
|
|
8
|
+
Requires-Dist: arkitekt-spec>=12.9
|
|
9
9
|
Requires-Dist: fakts>=6.1
|
|
10
10
|
Requires-Dist: koil>=1.0.0
|
|
11
11
|
Requires-Dist: mikro>=14.0.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version": "6.3.0"}
|
|
@@ -19,6 +19,7 @@ from rath.links.graphql_ws import GraphQLWSLink
|
|
|
19
19
|
from rath.links.split import SplitLink
|
|
20
20
|
|
|
21
21
|
from arkitekt_spec.declare.app import AppRegistry
|
|
22
|
+
from arkitekt_spec.declare.tested import tested_against
|
|
22
23
|
from arkitekt_spec.declare.widgets import SearchWidget
|
|
23
24
|
|
|
24
25
|
from dokuments.api.schema import File, SearchFilesQuery
|
|
@@ -37,6 +38,10 @@ registry = AppRegistry()
|
|
|
37
38
|
"""What dokuments brings to an app: its service, and the types it sends by id."""
|
|
38
39
|
|
|
39
40
|
|
|
41
|
+
TESTED = tested_against("dokuments")
|
|
42
|
+
"""The dokuments server this release wants: the one its release job tested it against."""
|
|
43
|
+
|
|
44
|
+
|
|
40
45
|
@registry.service(
|
|
41
46
|
schema=build_relative_path("api", "schema.graphql"),
|
|
42
47
|
turms=build_relative_path("api", "project.json"),
|
|
@@ -44,7 +49,7 @@ registry = AppRegistry()
|
|
|
44
49
|
def dokuments(
|
|
45
50
|
dokuments: Annotated[
|
|
46
51
|
Alias,
|
|
47
|
-
Require("live.arkitekt.dokuments", "Where the user's documents live"),
|
|
52
|
+
Require("live.arkitekt.dokuments", "Where the user's documents live", version=TESTED),
|
|
48
53
|
],
|
|
49
54
|
datalayer: Annotated[
|
|
50
55
|
Alias,
|
|
@@ -14,7 +14,7 @@ dependencies = [
|
|
|
14
14
|
"websockets>=15.0.1",
|
|
15
15
|
# The service and structures are declared with arkitekt-spec, its aliases resolved by fakts
|
|
16
16
|
# (4.1: a service's scopes).
|
|
17
|
-
"arkitekt-spec>=
|
|
17
|
+
"arkitekt-spec>=12.9",
|
|
18
18
|
"fakts>=6.1",
|
|
19
19
|
]
|
|
20
20
|
|
|
@@ -37,11 +37,15 @@ include = ["dokuments"]
|
|
|
37
37
|
exclude = ["**/__pycache__", "tests"]
|
|
38
38
|
typeCheckingMode = "standard"
|
|
39
39
|
|
|
40
|
+
# `_tested.json` is written by the integration tests (the server version they ran against)
|
|
41
|
+
# and is not in git: named as an artifact, on both, it is shipped all the same.
|
|
40
42
|
[tool.hatch.build.targets.sdist]
|
|
41
43
|
include = ["dokuments"]
|
|
44
|
+
artifacts = ["dokuments/_tested.json"]
|
|
42
45
|
|
|
43
46
|
[tool.hatch.build.targets.wheel]
|
|
44
47
|
include = ["dokuments"]
|
|
48
|
+
artifacts = ["dokuments/_tested.json"]
|
|
45
49
|
|
|
46
50
|
|
|
47
51
|
[tool.ruff.lint]
|
|
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
|