haiway 0.8.3__py3-none-any.whl → 0.8.4__py3-none-any.whl
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.
- haiway/state/structure.py +2 -12
- {haiway-0.8.3.dist-info → haiway-0.8.4.dist-info}/METADATA +3 -3
- {haiway-0.8.3.dist-info → haiway-0.8.4.dist-info}/RECORD +6 -6
- {haiway-0.8.3.dist-info → haiway-0.8.4.dist-info}/LICENSE +0 -0
- {haiway-0.8.3.dist-info → haiway-0.8.4.dist-info}/WHEEL +0 -0
- {haiway-0.8.3.dist-info → haiway-0.8.4.dist-info}/top_level.txt +0 -0
haiway/state/structure.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import typing
|
2
2
|
from collections.abc import Mapping
|
3
|
-
from copy import deepcopy
|
4
3
|
from types import EllipsisType, GenericAlias
|
5
4
|
from typing import (
|
6
5
|
Any,
|
@@ -362,22 +361,13 @@ class State(metaclass=StateMeta):
|
|
362
361
|
)
|
363
362
|
|
364
363
|
def __copy__(self) -> Self:
|
365
|
-
return self
|
364
|
+
return self # State is immutable, no need to provide an actual copy
|
366
365
|
|
367
366
|
def __deepcopy__(
|
368
367
|
self,
|
369
368
|
memo: dict[int, Any] | None,
|
370
369
|
) -> Self:
|
371
|
-
|
372
|
-
**{
|
373
|
-
key: deepcopy(
|
374
|
-
value,
|
375
|
-
memo,
|
376
|
-
)
|
377
|
-
for key, value in vars(self).items()
|
378
|
-
}
|
379
|
-
)
|
380
|
-
return copy
|
370
|
+
return self # State is immutable, no need to provide an actual copy
|
381
371
|
|
382
372
|
def __replace__(
|
383
373
|
self,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: haiway
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.4
|
4
4
|
Summary: Framework for dependency injection and state management within structured concurrency model.
|
5
5
|
Maintainer-email: Kacper Kaliński <kacper.kalinski@miquido.com>
|
6
6
|
License: MIT License
|
@@ -37,12 +37,12 @@ Description-Content-Type: text/markdown
|
|
37
37
|
License-File: LICENSE
|
38
38
|
Provides-Extra: dev
|
39
39
|
Requires-Dist: haiway; extra == "dev"
|
40
|
-
Requires-Dist: ruff~=0.
|
40
|
+
Requires-Dist: ruff~=0.9; extra == "dev"
|
41
41
|
Requires-Dist: pyright~=1.1; extra == "dev"
|
42
42
|
Requires-Dist: bandit~=1.7; extra == "dev"
|
43
43
|
Requires-Dist: pytest~=7.4; extra == "dev"
|
44
44
|
Requires-Dist: pytest-cov~=4.1; extra == "dev"
|
45
|
-
Requires-Dist: pytest-asyncio~=0.23
|
45
|
+
Requires-Dist: pytest-asyncio~=0.23; extra == "dev"
|
46
46
|
|
47
47
|
# 🚗 haiway 🚕 🚚 🚙
|
48
48
|
|
@@ -21,7 +21,7 @@ haiway/state/__init__.py,sha256=emTuwGFn7HyjyTJ_ass69J5jQIA7_WHO4teZz_dR05Y,355
|
|
21
21
|
haiway/state/attributes.py,sha256=iQ7TJHnT3hlcYwKcxchXE56zU8WbOTJZhsVn_HocXBc,22903
|
22
22
|
haiway/state/path.py,sha256=4vh-fYQv8_xRWjS0ErMQslKDWRI6-KVECAr8JhYk0UY,17503
|
23
23
|
haiway/state/requirement.py,sha256=3iQqzp5Q7w6y5uClamJGH7S5Hib9pciuTAV27PP5lS8,6161
|
24
|
-
haiway/state/structure.py,sha256=
|
24
|
+
haiway/state/structure.py,sha256=N8lh_yKyROm5GG1NjIxmidYttWZkYH0S3fhEpNIx5FY,11694
|
25
25
|
haiway/state/validation.py,sha256=n5cHcJTbv3Zf-qs05yzuLJIMBReV_4yYVwcH6IL58N0,13836
|
26
26
|
haiway/types/__init__.py,sha256=00Ulp2BxcIWm9vWXKQPodpFEwE8hpqj6OYgrNxelp5s,252
|
27
27
|
haiway/types/frozen.py,sha256=CZhFCXnWAKEhuWSfILxA8smfdpMd5Ku694ycfLh98R8,76
|
@@ -36,8 +36,8 @@ haiway/utils/mimic.py,sha256=BkVjTVP2TxxC8GChPGyDV6UXVwJmiRiSWeOYZNZFHxs,1828
|
|
36
36
|
haiway/utils/noop.py,sha256=qgbZlOKWY6_23Zs43OLukK2HagIQKRyR04zrFVm5rWI,344
|
37
37
|
haiway/utils/queue.py,sha256=oQ3GXCJ-PGNtMEr6EPdgqAvYZoj8lAa7Z2drBKBEoBM,2345
|
38
38
|
haiway/utils/sequences.py,sha256=mXLAzH94HZHi0P7fF593FHNNTn1eNMRHA4Uxlr3UOu0,1064
|
39
|
-
haiway-0.8.
|
40
|
-
haiway-0.8.
|
41
|
-
haiway-0.8.
|
42
|
-
haiway-0.8.
|
43
|
-
haiway-0.8.
|
39
|
+
haiway-0.8.4.dist-info/LICENSE,sha256=GehQEW_I1pkmxkkj3NEa7rCTQKYBn7vTPabpDYJlRuo,1063
|
40
|
+
haiway-0.8.4.dist-info/METADATA,sha256=kgICAuwSBcUZR47tc1Vtvj4EoRwPaWcQCRATc1epLMY,3894
|
41
|
+
haiway-0.8.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
42
|
+
haiway-0.8.4.dist-info/top_level.txt,sha256=_LdXVLzUzgkvAGQnQJj5kQfoFhpPW6EF4Kj9NapniLg,7
|
43
|
+
haiway-0.8.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|