ul-api-utils 7.8.9__py3-none-any.whl → 7.9.0__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.

Potentially problematic release.


This version of ul-api-utils might be problematic. Click here for more details.

@@ -51,8 +51,7 @@ class CmdGenApiFunctionDocumentation(Cmd):
51
51
  csv_data: List[Dict[str, str]] = []
52
52
  with current_app.app_context():
53
53
  now = datetime.now().isoformat()
54
- filename = f'.tmp/api-doc-{now}/doc.md'
55
- os.makedirs(os.path.dirname(filename), exist_ok=True)
54
+ filename = f'.tmp/{now}-doc.md'
56
55
  with open(filename, 'w') as file:
57
56
  for api_route_id, flask_api_rule in enumerate(current_app.url_map.iter_rules()):
58
57
  options = {}
@@ -78,7 +77,7 @@ class CmdGenApiFunctionDocumentation(Cmd):
78
77
  loaded_api_utils_functions=api_utils_functions,
79
78
  loaded_db_utils_functions=db_utils_functions,
80
79
  )
81
- with open(f'.tmp/api-doc-{now}/doc.csv', 'w') as csvfile:
80
+ with open(f'.tmp/{now}-doc.csv', 'w') as csvfile:
82
81
  fields = ['api_path', 'api_methods', 'api_function_name']
83
82
  writer = csv.DictWriter(csvfile, fieldnames=fields)
84
83
  writer.writeheader()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ul-api-utils
3
- Version: 7.8.9
3
+ Version: 7.9.0
4
4
  Summary: Python api utils
5
5
  Author: Unic-lab
6
6
  Author-email:
@@ -33,7 +33,7 @@ ul_api_utils/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
33
33
  ul_api_utils/commands/cmd_enc_keys.py,sha256=-Tblh6lI7G6M5YVwbVQqZmXhBMiIpB3a7b0Lv1MFufk,8453
34
34
  ul_api_utils/commands/cmd_gen_api_user_token.py,sha256=Vg7oEYHvof7DSLat9yJ_k5AYL9ZOC4Jvd38DBn5U-R0,2730
35
35
  ul_api_utils/commands/cmd_gen_new_api_user.py,sha256=ICZbKqz2D6DRvjwtNM08rNjIlWN3qClcUQw5L8FxRBY,4549
36
- ul_api_utils/commands/cmd_generate_api_docs.py,sha256=yoN4YT1eT5UU7N_7AuwwaJ7T4fPzHTErZmGQiGRDXUM,9699
36
+ ul_api_utils/commands/cmd_generate_api_docs.py,sha256=cEBUOkn8iQIir78yXzHK_gy_hna2cP58x8N5DzCeZEA,9617
37
37
  ul_api_utils/commands/cmd_start.py,sha256=aMz6o6HBzLxWrNpV2_rayQ7Nb-VX3-DHgzOUk39R7NA,3623
38
38
  ul_api_utils/commands/cmd_worker_start.py,sha256=1tt4_mL8T8_q7i1bqnfjPSkSYlRNNNp8eJ-5rTYj36w,2593
39
39
  ul_api_utils/commands/start/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -135,9 +135,9 @@ ul_api_utils/validators/validate_empty_object.py,sha256=3Ck_iwyJE_M5e7l6s1i88aqb
135
135
  ul_api_utils/validators/validate_uuid.py,sha256=EfvlRirv2EW0Z6w3s8E8rUa9GaI8qXZkBWhnPs8NFrA,257
136
136
  ul_api_utils/validators/__tests__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
137
  ul_api_utils/validators/__tests__/test_custom_fields.py,sha256=QLZ7DFta01Z7DOK9Z5Iq4uf_CmvDkVReis-GAl_QN48,1447
138
- ul_api_utils-7.8.9.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
139
- ul_api_utils-7.8.9.dist-info/METADATA,sha256=NGoHFhmYydUq0p9MnB5bPqkNsA7-g_Oxb5YVPr1RXcY,14671
140
- ul_api_utils-7.8.9.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
141
- ul_api_utils-7.8.9.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
142
- ul_api_utils-7.8.9.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
143
- ul_api_utils-7.8.9.dist-info/RECORD,,
138
+ ul_api_utils-7.9.0.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
139
+ ul_api_utils-7.9.0.dist-info/METADATA,sha256=eC9Hz_VF7dWCNKiXCMuO8VHqEs31pOTrADzM3UK90lQ,14671
140
+ ul_api_utils-7.9.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
141
+ ul_api_utils-7.9.0.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
142
+ ul_api_utils-7.9.0.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
143
+ ul_api_utils-7.9.0.dist-info/RECORD,,