reqstool-python-decorators 0.0.4__py3-none-any.whl → 0.0.6__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.
- reqstool_python_decorators/processors/decorator_processor.py +5 -2
- {reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/METADATA +2 -2
- {reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/RECORD +5 -5
- {reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/WHEEL +1 -1
- {reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -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(
|
|
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
|
|
{reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: reqstool-python-decorators
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
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>
|
{reqstool_python_decorators-0.0.4.dist-info → reqstool_python_decorators-0.0.6.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
5
|
-
reqstool_python_decorators-0.0.
|
|
6
|
-
reqstool_python_decorators-0.0.
|
|
7
|
-
reqstool_python_decorators-0.0.
|
|
8
|
-
reqstool_python_decorators-0.0.
|
|
4
|
+
reqstool_python_decorators/processors/decorator_processor.py,sha256=zZHl3uDJZXDIlPvIz3IxyO02IImJfNEGCb3IbjLuhfc,8536
|
|
5
|
+
reqstool_python_decorators-0.0.6.dist-info/METADATA,sha256=2Jm3ugroDccvmlLpXUFavmEa7gi4OFbHPiBhnOxsRKw,2906
|
|
6
|
+
reqstool_python_decorators-0.0.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
reqstool_python_decorators-0.0.6.dist-info/licenses/LICENSE,sha256=FVfPRmqjYUYTodYsh2C7Y70MWH64m0aWgTeIbqPj-P0,1060
|
|
8
|
+
reqstool_python_decorators-0.0.6.dist-info/RECORD,,
|
|
File without changes
|