xlin 0.1.3__tar.gz → 0.1.4__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.1
2
2
  Name: xlin
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: toolbox for LinXueyuan
5
5
  License: MIT
6
6
  Author: XiChen
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "xlin"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "toolbox for LinXueyuan"
5
5
  authors = ["XiChen <23211526+LinXueyuanStdio@users.noreply.github.com>"]
6
6
  license = "MIT"
@@ -130,7 +130,7 @@ def multiprocessing_mapping(
130
130
 
131
131
  def dataframe_with_row_mapping(
132
132
  df: pd.DataFrame,
133
- mapping_func: Callable[[int, dict], Tuple[bool, dict]],
133
+ mapping_func: Callable[[Tuple[int, dict]], Tuple[bool, dict]],
134
134
  use_multiprocessing=True,
135
135
  thread_pool_size=int(os.getenv("THREAD_POOL_SIZE", 5)),
136
136
  ):
@@ -153,7 +153,7 @@ def dataframe_with_row_mapping(
153
153
 
154
154
  def list_with_element_mapping(
155
155
  iterator: List[Any],
156
- mapping_func: Callable[[int, Any], Tuple[bool, Any]],
156
+ mapping_func: Callable[[Tuple[int, Any]], Tuple[bool, Any]],
157
157
  use_multiprocessing=True,
158
158
  thread_pool_size=int(os.getenv("THREAD_POOL_SIZE", 5)),
159
159
  ):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes