haiway 0.21.3__py3-none-any.whl → 0.21.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.
@@ -99,7 +99,7 @@ class AttributeRequirement[Root]:
99
99
  path, AttributePath
100
100
  ), "Prepare attribute path by using Self._.path.to.property or explicitly"
101
101
 
102
- def check_like(root: Root) -> None:
102
+ def check_text_match(root: Root) -> None:
103
103
  checked: Any = cast(AttributePath[Root, str], path)(root)
104
104
  if not isinstance(checked, str):
105
105
  raise ValueError(
@@ -140,9 +140,9 @@ class AttributeRequirement[Root]:
140
140
 
141
141
  return cls(
142
142
  path,
143
- "like",
143
+ "text_match",
144
144
  value,
145
- check=check_like,
145
+ check=check_text_match,
146
146
  )
147
147
 
148
148
  @classmethod
@@ -345,7 +345,7 @@ class AttributeRequirement[Root]:
345
345
  lhs: Any,
346
346
  operator: Literal[
347
347
  "equal",
348
- "like",
348
+ "text_match",
349
349
  "not_equal",
350
350
  "contains",
351
351
  "contains_any",
@@ -378,7 +378,7 @@ class AttributeRequirement[Root]:
378
378
  )
379
379
  self.operator: Literal[
380
380
  "equal",
381
- "like",
381
+ "text_match",
382
382
  "not_equal",
383
383
  "contains",
384
384
  "contains_any",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haiway
3
- Version: 0.21.3
3
+ Version: 0.21.4
4
4
  Summary: Framework for dependency injection and state management within structured concurrency model.
5
5
  Project-URL: Homepage, https://miquido.com
6
6
  Project-URL: Repository, https://github.com/miquido/haiway.git
@@ -22,7 +22,7 @@ haiway/opentelemetry/observability.py,sha256=5fsHsFgjcxUcA0hIOM18lVvVdYSRO91ER52
22
22
  haiway/state/__init__.py,sha256=AaMqlMhO4zKS_XNevy3A7BHh5PxmguA-Sk_FnaNDY1Q,355
23
23
  haiway/state/attributes.py,sha256=sububiFP23aBB8RGk6OvTUp7BEY6S0kER_uHC09yins,26733
24
24
  haiway/state/path.py,sha256=bv5MI3HmUyku78k0Sz5lc7Q_Bay53iom1l3AL5KZs-4,32143
25
- haiway/state/requirement.py,sha256=uj-mezofTEPDXUuvlHreIjy5Ya-Hig8TR8VE6R8wdyY,15611
25
+ haiway/state/requirement.py,sha256=zNTx7s8FiMZKu9EV3T6f1SOJpR4SC9X5hhL--PVWPCY,15641
26
26
  haiway/state/structure.py,sha256=KKIId-mrHAzGjYKKlvnlscMijVZVM8nDLnAwCFn1sTc,23259
27
27
  haiway/state/validation.py,sha256=eDOZKRrfd-dmdbqoHcLacdCVKmVCEpwt239EG6ljNF8,23557
28
28
  haiway/types/__init__.py,sha256=jFr5kf36SvVGdgngvik6_HzG8YNa3NVsdDDSqxVuGm4,281
@@ -39,7 +39,7 @@ haiway/utils/mimic.py,sha256=xaZiUKp096QFfdSw7cNIKEWt2UIS7vf880KF54gny38,1831
39
39
  haiway/utils/noop.py,sha256=U8ocfoCgt-pY0owJDPtrRrj53cabeIXH9qCKWMQnoRk,1336
40
40
  haiway/utils/queue.py,sha256=6v2u3pA6A44IuCCTOjmCt3yLyOcm7PCRnrIGo25j-1o,6402
41
41
  haiway/utils/stream.py,sha256=lXaeveTY0-AYG5xVzcQYaiC6SUD5fUtHoMXiQcrQAAM,5723
42
- haiway-0.21.3.dist-info/METADATA,sha256=iUkk5Z8qoOqq41SjzBEkBlhoFEeBO_eO6pns1C0W08I,4919
43
- haiway-0.21.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
- haiway-0.21.3.dist-info/licenses/LICENSE,sha256=3phcpHVNBP8jsi77gOO0E7rgKeDeu99Pi7DSnK9YHoQ,1069
45
- haiway-0.21.3.dist-info/RECORD,,
42
+ haiway-0.21.4.dist-info/METADATA,sha256=nxks1ZdXY-7iFAZLDZub4tH8eSgJeuF75wMtWL0rTYc,4919
43
+ haiway-0.21.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
+ haiway-0.21.4.dist-info/licenses/LICENSE,sha256=3phcpHVNBP8jsi77gOO0E7rgKeDeu99Pi7DSnK9YHoQ,1069
45
+ haiway-0.21.4.dist-info/RECORD,,