haiway 0.19.2__py3-none-any.whl → 0.19.3__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/helpers/caching.py CHANGED
@@ -263,7 +263,7 @@ class _SyncCache[**Args, Result]:
263
263
  owner: type | None = None,
264
264
  /,
265
265
  ) -> Callable[Args, Result]:
266
- assert owner is None and instance is None, "cache does not work for classes" # nosec: B101
266
+ assert instance is None, "cache does not work for classes" # nosec: B101
267
267
  return self
268
268
 
269
269
  def __call__(
@@ -352,7 +352,7 @@ class _AsyncCache[**Args, Result]:
352
352
  owner: type | None = None,
353
353
  /,
354
354
  ) -> Callable[Args, Coroutine[Any, Any, Result]]:
355
- assert owner is None and instance is None, "cache does not work for classes" # nosec: B101
355
+ assert instance is None, "cache does not work for classes" # nosec: B101
356
356
  return self
357
357
 
358
358
  async def __call__(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haiway
3
- Version: 0.19.2
3
+ Version: 0.19.3
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
@@ -10,7 +10,7 @@ haiway/context/tasks.py,sha256=QOxFdjmMp4IYff0ihHElKLCQrcVksSJmxqTlOKfoH4o,2907
10
10
  haiway/context/types.py,sha256=WulPvpqUbI1vYyny-s2NItldDnk3zh1O-n_hGibFZRY,142
11
11
  haiway/helpers/__init__.py,sha256=dYqwWSBk8ss9XyXEF6YHZNPrCwU8VDM4nKtcz1tsvZI,583
12
12
  haiway/helpers/asynchrony.py,sha256=k_A0yCWUKSFfzYZ8WvqK4wqTMljv6ykMivmERrDLHIU,6266
13
- haiway/helpers/caching.py,sha256=4WX2Md5AOncduYB_RLLENI2s9C2zD5kNJgKZjMzPIGY,13257
13
+ haiway/helpers/caching.py,sha256=N60FBFfSoOdSUI6S49l47G6T1j-y9tc3qhU5msSRdPM,13221
14
14
  haiway/helpers/observability.py,sha256=6UZMDR56kljGpou7qeDFl5XK-NkxZY0ob2nSFesO9TY,7843
15
15
  haiway/helpers/retries.py,sha256=unssUKBDOENvquh6R4Ud65TuSKl4mTHgZ5N_b7mAYa4,7533
16
16
  haiway/helpers/throttling.py,sha256=U6HJvSzffw47730VeiXxXSW4VVxpDx48k0oIAOpL-O4,4115
@@ -39,7 +39,7 @@ haiway/utils/mimic.py,sha256=L5AS4WEL2aPMZAQZlvLvRzHl0cipI7ivky60_eL4iwY,1822
39
39
  haiway/utils/noop.py,sha256=f54PSLHGEwCQNYXQHkPAW5NDE-tk5yjzkNL1pZj0TJQ,344
40
40
  haiway/utils/queue.py,sha256=YTvCn3wgSwLJiLqolMx44sa3304Xkv3tJG77gvfWnZs,4114
41
41
  haiway/utils/stream.py,sha256=Mjhy2S-ZDR1g_NsgS_nuBA8AgVbhrGXKvG3wjJ5mCJQ,2826
42
- haiway-0.19.2.dist-info/METADATA,sha256=WpHLg0EGGqd414dlNw86JSoHQ-5U_blo3zGSZ1vNyhU,4527
43
- haiway-0.19.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
- haiway-0.19.2.dist-info/licenses/LICENSE,sha256=3phcpHVNBP8jsi77gOO0E7rgKeDeu99Pi7DSnK9YHoQ,1069
45
- haiway-0.19.2.dist-info/RECORD,,
42
+ haiway-0.19.3.dist-info/METADATA,sha256=U7KxwEJ85Smk5GOBJyPlCTjf_9x39y3-D9m74QARekU,4527
43
+ haiway-0.19.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
+ haiway-0.19.3.dist-info/licenses/LICENSE,sha256=3phcpHVNBP8jsi77gOO0E7rgKeDeu99Pi7DSnK9YHoQ,1069
45
+ haiway-0.19.3.dist-info/RECORD,,