knify 1.8.53__tar.gz → 1.8.54__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: knify
3
- Version: 1.8.53
3
+ Version: 1.8.54
4
4
  Summary: Development tools for python
5
5
  Home-page: https://github.com/qicongsheng/knify
6
6
  Author: qicongsheng
@@ -24,7 +24,7 @@ class HeaderBuilder:
24
24
 
25
25
  def set_names(self, names: list[str] = None):
26
26
  for index_, name in enumerate(names):
27
- self.headers.append(Header(len(self.headers), name, self.default_transformer))
27
+ self.headers.append(Header(index_, name, self.default_transformer))
28
28
  return self
29
29
 
30
30
  def set_transformer(self, name: str, transformer: Callable[[object], object] = None):
@@ -33,7 +33,7 @@ class HeaderBuilder:
33
33
  header.transformer = transformer
34
34
  return self
35
35
 
36
- def append(self, index: int = None, name: str | None = None, transformer: Callable[[object], object] = None):
36
+ def append(self, index: int, name: str | None, transformer: Callable[[object], object] = None):
37
37
  target_tindex = index if index is not None else len(self.headers)
38
38
  target_transformer = transformer if transformer is not None else self.default_transformer
39
39
  self.headers.append(Header(target_tindex, name, target_transformer))
@@ -8,7 +8,7 @@ def get_pip_name():
8
8
 
9
9
 
10
10
  def get_version():
11
- return '1.8.53'
11
+ return '1.8.54'
12
12
 
13
13
 
14
14
  def print_version():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: knify
3
- Version: 1.8.53
3
+ Version: 1.8.54
4
4
  Summary: Development tools for python
5
5
  Home-page: https://github.com/qicongsheng/knify
6
6
  Author: qicongsheng
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