kuvert 3.2.0__tar.gz → 3.2.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.
- {kuvert-3.2.0 → kuvert-3.2.1}/PKG-INFO +1 -1
- kuvert-3.2.1/kuvert/_tested.json +1 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/rath.py +5 -1
- {kuvert-3.2.0 → kuvert-3.2.1}/pyproject.toml +4 -16
- kuvert-3.2.0/kuvert/_tested.json +0 -1
- {kuvert-3.2.0 → kuvert-3.2.1}/.gitignore +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/README.md +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/__init__.py +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/api/project.json +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/api/schema.graphql +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/api/schema.py +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/arkitekt.py +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/kuvert.py +0 -0
- {kuvert-3.2.0 → kuvert-3.2.1}/kuvert/py.typed +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version": "9.6.1"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from types import TracebackType
|
|
2
|
+
from typing import TypeVar
|
|
2
3
|
|
|
3
4
|
from pydantic import Field
|
|
4
5
|
from rath import rath
|
|
@@ -16,6 +17,9 @@ class KuvertLinkComposition(TypedComposedLink):
|
|
|
16
17
|
split: SplitLink
|
|
17
18
|
|
|
18
19
|
|
|
20
|
+
KuvertRathT = TypeVar("KuvertRathT", bound="KuvertRath")
|
|
21
|
+
|
|
22
|
+
|
|
19
23
|
class KuvertRath(rath.Rath):
|
|
20
24
|
"""Kuvert Rath
|
|
21
25
|
|
|
@@ -23,7 +27,7 @@ class KuvertRath(rath.Rath):
|
|
|
23
27
|
:class:`kuvert.kuvert.Kuvert` client; calls go through that client.
|
|
24
28
|
"""
|
|
25
29
|
|
|
26
|
-
async def __aenter__(self):
|
|
30
|
+
async def __aenter__(self: KuvertRathT) -> KuvertRathT:
|
|
27
31
|
"""Enter the client.
|
|
28
32
|
|
|
29
33
|
Entering does not make it "the current client": nothing is. Calls go
|
|
@@ -18,8 +18,8 @@ dependencies = [
|
|
|
18
18
|
# __init__ lights up when it is installed alongside.
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
[
|
|
22
|
-
dev
|
|
21
|
+
[dependency-groups]
|
|
22
|
+
dev = [
|
|
23
23
|
"dokker>=2.8",
|
|
24
24
|
# Stamps the server version the integration tests ran against, and checks it at release.
|
|
25
25
|
"arkitekt-spec>=12.9",
|
|
@@ -28,16 +28,11 @@ dev-dependencies = [
|
|
|
28
28
|
"pytest-aiohttp>=1.0.5,<2",
|
|
29
29
|
"pytest-cov>=5.0.0,<6",
|
|
30
30
|
"python-semantic-release>=9.21.1",
|
|
31
|
-
"ruff
|
|
31
|
+
"ruff==0.17.6",
|
|
32
32
|
"turms>=3.0",
|
|
33
|
-
"basedpyright
|
|
33
|
+
"basedpyright==1.40.2",
|
|
34
34
|
]
|
|
35
35
|
|
|
36
|
-
[tool.basedpyright]
|
|
37
|
-
include = ["kuvert"]
|
|
38
|
-
exclude = ["**/__pycache__", "tests"]
|
|
39
|
-
typeCheckingMode = "standard"
|
|
40
|
-
|
|
41
36
|
# `_tested.json` is written by the integration tests (the server version they ran against)
|
|
42
37
|
# and is not in git: named as an artifact, on both, it is shipped all the same.
|
|
43
38
|
[tool.hatch.build.targets.sdist]
|
|
@@ -48,13 +43,6 @@ artifacts = ["kuvert/_tested.json"]
|
|
|
48
43
|
include = ["kuvert"]
|
|
49
44
|
artifacts = ["kuvert/_tested.json"]
|
|
50
45
|
|
|
51
|
-
|
|
52
|
-
[tool.ruff.lint]
|
|
53
|
-
extend-select = ["UP"]
|
|
54
|
-
extend-ignore = ["UP037", "UP038", "UP042"]
|
|
55
|
-
|
|
56
|
-
[tool.ruff.lint.per-file-ignores]
|
|
57
|
-
"kuvert/api/schema.py" = ["UP035"]
|
|
58
46
|
[build-system]
|
|
59
47
|
requires = ["hatchling", "hatch-vcs"]
|
|
60
48
|
build-backend = "hatchling.build"
|
kuvert-3.2.0/kuvert/_tested.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version": "9.4.0"}
|
|
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
|