reqstool-python-decorators 0.0.4__py3-none-any.whl → 0.0.5__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.
@@ -9,6 +9,7 @@ import ast
9
9
  @unique
10
10
  class DECORATOR_TYPES(Enum):
11
11
  FUNCTION = ("FUNCTION", "METHOD")
12
+ ASYNCFUNCTION = ("ASYNCFUNCTION", "METHOD")
12
13
 
13
14
  def __init__(self, from_value, to_value):
14
15
  self.from_value = from_value
@@ -173,7 +174,7 @@ class DecoratorProcessor:
173
174
 
174
175
  return formatted_data
175
176
 
176
- def create_dir_from_path(self, filepath: str):
177
+ def create_dir_from_path(self, filepath: str) -> None:
177
178
  """
178
179
  Creates directory of provided filepath if it does not exists
179
180
 
@@ -184,7 +185,9 @@ class DecoratorProcessor:
184
185
  if not os.path.exists(directory):
185
186
  os.makedirs(directory)
186
187
 
187
- def process_decorated_data(self, path_to_python_files, output_file="build/reqstool/annotations.yml"):
188
+ def process_decorated_data(
189
+ self, path_to_python_files: str, output_file: str = "build/reqstool/annotations.yml"
190
+ ) -> None:
188
191
  """
189
192
  "Main" function, runs all functions resulting in a yaml file containing decorated data.
190
193
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: reqstool-python-decorators
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary: Reqstool Python Decorators
5
5
  Project-URL: Source, https://github.com/Luftfartsverket/reqstool-python-decorators.git
6
6
  Author-email: LFV SYSDEV <sysdev@lfv.com>
@@ -1,8 +1,8 @@
1
1
  reqstool_python_decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  reqstool_python_decorators/decorators/decorators.py,sha256=7TnBcVour2VSH76rM4FtwmCDi9JY9gxqOvAL6o1kI_g,282
3
3
  reqstool_python_decorators/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- reqstool_python_decorators/processors/decorator_processor.py,sha256=NPtjJZA9HYcgSC90lPCFNWI_rfqv9ey2VUHP7OWDnyo,8446
5
- reqstool_python_decorators-0.0.4.dist-info/METADATA,sha256=6kT_pJaabWOKuvh5m8x-MWwJDAq7IvHAkneEADpPzrk,2906
6
- reqstool_python_decorators-0.0.4.dist-info/WHEEL,sha256=uNdcs2TADwSd5pVaP0Z_kcjcvvTUklh2S7bxZMF8Uj0,87
7
- reqstool_python_decorators-0.0.4.dist-info/licenses/LICENSE,sha256=FVfPRmqjYUYTodYsh2C7Y70MWH64m0aWgTeIbqPj-P0,1060
8
- reqstool_python_decorators-0.0.4.dist-info/RECORD,,
4
+ reqstool_python_decorators/processors/decorator_processor.py,sha256=zZHl3uDJZXDIlPvIz3IxyO02IImJfNEGCb3IbjLuhfc,8536
5
+ reqstool_python_decorators-0.0.5.dist-info/METADATA,sha256=tg8k-6hXjt4NbFm0kGdUsi-7eqdPecpZNfztXxrr5p0,2906
6
+ reqstool_python_decorators-0.0.5.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
7
+ reqstool_python_decorators-0.0.5.dist-info/licenses/LICENSE,sha256=FVfPRmqjYUYTodYsh2C7Y70MWH64m0aWgTeIbqPj-P0,1060
8
+ reqstool_python_decorators-0.0.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.22.4
2
+ Generator: hatchling 1.25.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any