faust-tools 1.2.2__tar.gz → 1.2.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faust-tools
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Faust Tools
5
5
  Author-email: Biszx <isares.br@gmail.com>
6
6
  License: MIT
@@ -2,8 +2,7 @@ import inspect
2
2
  import os
3
3
  from collections.abc import AsyncIterable, Awaitable, Callable
4
4
  from functools import wraps
5
- from types import CoroutineType
6
- from typing import Any, TypeVar, Union, cast
5
+ from typing import Any, Coroutine, TypeVar, Union, cast
7
6
 
8
7
  from faust import App, TopicT
9
8
  from faust.types.streams import StreamT
@@ -91,7 +90,7 @@ def batch_stream(
91
90
  [
92
91
  Callable[
93
92
  [list[StreamSerializer]],
94
- Union[list[Response], CoroutineType[Any, Any, list[Response]]],
93
+ Union[list[Response], Coroutine[Any, Any, list[Response]]],
95
94
  ]
96
95
  ],
97
96
  Any,
@@ -105,7 +104,7 @@ def batch_stream(
105
104
  def decorator(
106
105
  func: Callable[
107
106
  [list[StreamSerializer]],
108
- Union[list[Response], CoroutineType[Any, Any, list[Response]]],
107
+ Union[list[Response], Coroutine[Any, Any, list[Response]]],
109
108
  ],
110
109
  ) -> Any:
111
110
  @wraps(func)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faust-tools
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Faust Tools
5
5
  Author-email: Biszx <isares.br@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "faust-tools"
3
- version = "1.2.2"
3
+ version = "1.2.3"
4
4
  description = "Faust Tools"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes