thds.attrs-utils 1.7.20260130200337__py3-none-any.whl → 1.7.20260203202900__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.
- thds/attrs_utils/random/gen.py +1 -3
- {thds_attrs_utils-1.7.20260130200337.dist-info → thds_attrs_utils-1.7.20260203202900.dist-info}/METADATA +1 -1
- {thds_attrs_utils-1.7.20260130200337.dist-info → thds_attrs_utils-1.7.20260203202900.dist-info}/RECORD +5 -5
- {thds_attrs_utils-1.7.20260130200337.dist-info → thds_attrs_utils-1.7.20260203202900.dist-info}/WHEEL +0 -0
- {thds_attrs_utils-1.7.20260130200337.dist-info → thds_attrs_utils-1.7.20260203202900.dist-info}/top_level.txt +0 -0
thds/attrs_utils/random/gen.py
CHANGED
|
@@ -80,9 +80,7 @@ def gen_variadic_tuple(random_gen, type_: Type[T]) -> Gen[T]:
|
|
|
80
80
|
|
|
81
81
|
def gen_optional(random_gen, type_: Type[T]) -> Gen[T]:
|
|
82
82
|
# more specialized that the union case just below
|
|
83
|
-
return optional.random_optional_gen(
|
|
84
|
-
random_gen(type_utils.unwrap_optional(type_))
|
|
85
|
-
) # type: ignore [return-value]
|
|
83
|
+
return optional.random_optional_gen(random_gen(type_utils.unwrap_optional(type_))) # type: ignore [return-value]
|
|
86
84
|
|
|
87
85
|
|
|
88
86
|
def gen_union(random_gen, type_: Type[T]) -> Gen[T]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: thds.attrs-utils
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.20260203202900
|
|
4
4
|
Summary: Utilities for attrs record classes.
|
|
5
5
|
Author-email: Trillianth Health <info@trillianthealth.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/TrilliantHealth/ds-monorepo
|
|
@@ -29,13 +29,13 @@ thds/attrs_utils/random/__init__.py,sha256=A1n-9fispK5EkZFpwOhNJpO1kY_7xDZ5zec5c
|
|
|
29
29
|
thds/attrs_utils/random/attrs.py,sha256=N-qGxtQhb6wr_ML3aFb4Gh3beQsZxgFa7Y_gpACfCPQ,1725
|
|
30
30
|
thds/attrs_utils/random/builtin.py,sha256=p16zK3CJJITfCpe2gg4f1TkRXi25y4m97o5CvZKmfWA,2854
|
|
31
31
|
thds/attrs_utils/random/collection.py,sha256=gSa_-478_KUcqzYt-01OREB3nJ7bcfGxwnFjSB7JJ30,1116
|
|
32
|
-
thds/attrs_utils/random/gen.py,sha256=
|
|
32
|
+
thds/attrs_utils/random/gen.py,sha256=8AHUxZP5Qetva-sP8ANC8CbRqgcegECG86PSbszslMY,4754
|
|
33
33
|
thds/attrs_utils/random/optional.py,sha256=Mm0WnJ6VeUUUhYelrOK7ZAYRJePlBalHc0wQECyO9uM,386
|
|
34
34
|
thds/attrs_utils/random/registry.py,sha256=IcC2ucJtrnOG0RH43VK8lrMha1uhYflz8_pZJZj7jJ4,1056
|
|
35
35
|
thds/attrs_utils/random/tuple.py,sha256=YI_wzYFzprUG9iuxwloWz9OqQDmVJuhp9epu_pnUI2w,783
|
|
36
36
|
thds/attrs_utils/random/union.py,sha256=FEWB4SByQFVr0vCGeWUor4W3bTB3sj0MEdavGxrBc98,1242
|
|
37
37
|
thds/attrs_utils/random/util.py,sha256=tQKjJFP58NEhX5UNYuHeAUOiyf1SE39EQeZgj2O1uKk,1557
|
|
38
|
-
thds_attrs_utils-1.7.
|
|
39
|
-
thds_attrs_utils-1.7.
|
|
40
|
-
thds_attrs_utils-1.7.
|
|
41
|
-
thds_attrs_utils-1.7.
|
|
38
|
+
thds_attrs_utils-1.7.20260203202900.dist-info/METADATA,sha256=O_m0cCYhrrKR5G35uz9Jp4Vb_llNCCTP_JYWsR45mbg,8865
|
|
39
|
+
thds_attrs_utils-1.7.20260203202900.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
40
|
+
thds_attrs_utils-1.7.20260203202900.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
|
|
41
|
+
thds_attrs_utils-1.7.20260203202900.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|