amsdal_cli 0.5.10__py3-none-any.whl → 0.6.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.
amsdal_cli/__about__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2023-present
2
2
  #
3
3
  # SPDX-License-Identifier: AMSDAL End User License Agreement
4
- __version__ = '0.5.10'
4
+ __version__ = '0.6.0'
@@ -1,7 +1,7 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
 
4
- class Vcs(str, Enum):
4
+ class Vcs(StrEnum):
5
5
  github = 'github'
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
 
4
- class OutputFormat(str, Enum):
4
+ class OutputFormat(StrEnum):
5
5
  """
6
6
  Output format for CLI commands.
7
7
 
@@ -16,7 +16,7 @@ class OutputFormat(str, Enum):
16
16
  wide = 'wide'
17
17
 
18
18
 
19
- class DBType(str, Enum):
19
+ class DBType(StrEnum):
20
20
  """
21
21
  Enumeration for database types.
22
22
 
@@ -1,4 +1,4 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
  MODEL_JSON_FILE = 'model.json'
4
4
  MODEL_PY_FILE = 'model.py'
@@ -6,7 +6,7 @@ FIXTURES_JSON_FILE = 'fixtures.json'
6
6
  FIXTURES = 'fixtures'
7
7
 
8
8
 
9
- class HookName(str, Enum):
9
+ class HookName(StrEnum):
10
10
  """
11
11
  Enum representing different hook names used in the application lifecycle.
12
12
 
@@ -31,7 +31,7 @@ class HookName(str, Enum):
31
31
  POST_DELETE = 'post_delete'
32
32
 
33
33
 
34
- class ModifierName(str, Enum):
34
+ class ModifierName(StrEnum):
35
35
  """
36
36
  Enum representing different modifier names used in the application.
37
37
 
@@ -46,7 +46,7 @@ class ModifierName(str, Enum):
46
46
  VERSION_NAME = 'version_name'
47
47
 
48
48
 
49
- class AttributeType(str, Enum):
49
+ class AttributeType(StrEnum):
50
50
  """
51
51
  Enum representing different attribute types used in the application.
52
52
 
@@ -69,7 +69,7 @@ class AttributeType(str, Enum):
69
69
  DICT = 'dict'
70
70
 
71
71
 
72
- class JsonType(str, Enum):
72
+ class JsonType(StrEnum):
73
73
  """
74
74
  Enum representing different JSON types used in the application.
75
75
 
@@ -90,7 +90,7 @@ class JsonType(str, Enum):
90
90
  DICT = 'dictionary'
91
91
 
92
92
 
93
- class OptionName(str, Enum):
93
+ class OptionName(StrEnum):
94
94
  """
95
95
  Enum representing different option names used in the application.
96
96
 
@@ -107,7 +107,7 @@ class OptionName(str, Enum):
107
107
  UNIQUE = 'unique'
108
108
 
109
109
 
110
- class TestType(str, Enum):
110
+ class TestType(StrEnum):
111
111
  """
112
112
  Enum representing different test types used in the application.
113
113
 
@@ -118,7 +118,7 @@ class TestType(str, Enum):
118
118
  UNIT = 'unit'
119
119
 
120
120
 
121
- class TestDataType(str, Enum):
121
+ class TestDataType(StrEnum):
122
122
  """
123
123
  Enum representing different test data types used in the application.
124
124
 
@@ -1,7 +1,7 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
 
4
- class RestoreType(str, Enum):
4
+ class RestoreType(StrEnum):
5
5
  """
6
6
  Restore type for CLI `restore` command.
7
7
 
@@ -1,5 +1,5 @@
1
1
  import re
2
- from enum import Enum
2
+ from enum import StrEnum
3
3
  from pathlib import Path
4
4
 
5
5
  from pydantic import BaseModel
@@ -10,7 +10,7 @@ from amsdal_cli.utils.vcs.enums import VCSOptions
10
10
  APPLICATION_UUID_PATTERN = re.compile(r'^[a-zA-Z][a-zA-Z0-9]{31}$')
11
11
 
12
12
 
13
- class ModelsFormat(str, Enum):
13
+ class ModelsFormat(StrEnum):
14
14
  JSON = 'json'
15
15
  PY = 'py'
16
16
 
@@ -1,5 +1,5 @@
1
- from enum import Enum
1
+ from enum import StrEnum
2
2
 
3
3
 
4
- class VCSOptions(str, Enum):
4
+ class VCSOptions(StrEnum):
5
5
  git = 'git'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_cli
3
- Version: 0.5.10
3
+ Version: 0.6.0
4
4
  Summary: CLI for AMSDAL framework
5
5
  Project-URL: Documentation, https://pypi.org/project/amsdal_cli/#readme
6
6
  Project-URL: Issues, https://pypi.org/project/amsdal_cli/
@@ -122,7 +122,7 @@ Classifier: Programming Language :: Python :: 3.13
122
122
  Classifier: Programming Language :: Python :: Implementation :: CPython
123
123
  Classifier: Programming Language :: Python :: Implementation :: PyPy
124
124
  Requires-Python: <3.14,>=3.11
125
- Requires-Dist: amsdal-server==0.5.*
125
+ Requires-Dist: amsdal-server>=0.5.0
126
126
  Requires-Dist: click<8.2.0
127
127
  Requires-Dist: faker==27.*
128
128
  Requires-Dist: gitpython~=3.1
@@ -1,5 +1,5 @@
1
1
  amsdal_cli/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=uHJlGG0D4tbpUi8cq-497NNO9ltQ67a5448k-T14HTw,68241
2
- amsdal_cli/__about__.py,sha256=2PfW0mPI4DYZrdult5d2mMRHPOJDirOQvIzkUq-Vwks,125
2
+ amsdal_cli/__about__.py,sha256=L9I3u2z3UsLTmwP99KJ8u9WMvIGgp6dH1-e7eZsHvlE,124
3
3
  amsdal_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  amsdal_cli/app.py,sha256=_ucuLT5ospf1ifFKEG0IMfVnxKjnvPUQ4iMhkvOfCrc,466
5
5
  amsdal_cli/main.py,sha256=LtH-BD1eJrAUecjKzC8Gx7kYFUstOMH1erdeJUVqFB8,144
@@ -48,14 +48,14 @@ amsdal_cli/commands/build/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
48
48
  amsdal_cli/commands/build/utils/build_config_file.py,sha256=65s3rP_nnr5FJLQlYStGF2JNYxExq5tWZvIU_h8Ae7I,2009
49
49
  amsdal_cli/commands/ci_cd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  amsdal_cli/commands/ci_cd/command.py,sha256=REhNCbCet1cQuDLzt6q4ain4MrUitRyZW5OtlwZ6sic,1115
51
- amsdal_cli/commands/ci_cd/constants.py,sha256=lJzWXv6f-ewrTPiqktE3-7oDRbWL22hmmf5wegxlIkk,301
51
+ amsdal_cli/commands/ci_cd/constants.py,sha256=r02mjhz9-S7bTjn72MqFNK_iG3TN98FZUe7s22tok0w,302
52
52
  amsdal_cli/commands/ci_cd/templates/github.yml,sha256=e6RUSyqpwMncdpQOwOsYky646bpI0EKJ08FGXK1bP3o,600
53
53
  amsdal_cli/commands/clean/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  amsdal_cli/commands/clean/command.py,sha256=a4h0ZB7B9pRSyUaJF5d1eD33cwgvmexm_z8W3Ws71_Q,934
55
55
  amsdal_cli/commands/cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  amsdal_cli/commands/cloud/app.py,sha256=PKtcnIoByDMn0vGPSQrr9lfhg90Za2S2X9Z0C-zM430,174
57
57
  amsdal_cli/commands/cloud/command.py,sha256=L5Es2Xukqs6WPdskVC_jDzqroEVUL-HxPUnCzvp1nwo,601
58
- amsdal_cli/commands/cloud/enums.py,sha256=mQJzdRDSeWgm9D2zTaXMbG0_EKcQ_ff-79iZE57kAME,612
58
+ amsdal_cli/commands/cloud/enums.py,sha256=6XnAdBwPJ-e-aAFgY7hgA3prDLG48qwfE39JbKHEr84,611
59
59
  amsdal_cli/commands/cloud/dependency/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  amsdal_cli/commands/cloud/dependency/app.py,sha256=m2pcB5z3257uU7pKt9XoOdQn7J3PUys6elCs9c9qc2o,230
61
61
  amsdal_cli/commands/cloud/dependency/command.py,sha256=6nri04NBl4fy4FlrZyorY05samMbYU1-2j88m4t2FD4,272
@@ -119,7 +119,7 @@ amsdal_cli/commands/cloud/sub_commands/sync_db.py,sha256=o5yaqcanCDffaAj73jvk7vX
119
119
  amsdal_cli/commands/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
120
  amsdal_cli/commands/generate/app.py,sha256=-wEccTR0MhZyj3Y1R2VMyO9RzyGiBSrdWNPQc4ACHqc,201
121
121
  amsdal_cli/commands/generate/command.py,sha256=j6CGiZ_7st-A6qpMTA8XYl15UeONopauQALObVWB2xc,197
122
- amsdal_cli/commands/generate/enums.py,sha256=SQ_ZFW6F9RbvM__Ohz5r3Ld54MlKoxid83kqiVqaZwY,3696
122
+ amsdal_cli/commands/generate/enums.py,sha256=f53uKOxTKn6-z169NZmkTn_dtCNO1RE07hBes_1cZ4U,3685
123
123
  amsdal_cli/commands/generate/sub_commands/__init__.py,sha256=afAyY3hWNb6a4e3lapQX-GsR1SB6EHZi9hwtsWzrPKY,1077
124
124
  amsdal_cli/commands/generate/sub_commands/generate_external_models.py,sha256=QH54RuiRyzFzmiEQsw7mbLk1d_vSbLAPqp4F-oJGwD8,11515
125
125
  amsdal_cli/commands/generate/sub_commands/generate_frontend_config.py,sha256=SkEzx7-mWgrPINwPXGRmYO1SVA0RZojOd6BZFQRmG0Q,2574
@@ -194,7 +194,7 @@ amsdal_cli/commands/register_connection/utils/model_generator.py,sha256=w0vz-i-t
194
194
  amsdal_cli/commands/register_connection/utils/tables.py,sha256=FOwbWOpEw485Leoqe8LXCVY5osGKTKlMqWD9oqosapk,474
195
195
  amsdal_cli/commands/restore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
196
196
  amsdal_cli/commands/restore/command.py,sha256=yrtF0y3HHmv6RXrMKQCnUIDhEQecDWY7THI_erh6WtA,35976
197
- amsdal_cli/commands/restore/enums.py,sha256=6SiKMRGlSjiLyepfbfQFXGAYqlM6Bkoeko2KscntTUQ,307
197
+ amsdal_cli/commands/restore/enums.py,sha256=oeEs9qTEsW4xgi6gAylFfRD5loFId416wwGkNhsSEkU,308
198
198
  amsdal_cli/commands/serve/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
199
199
  amsdal_cli/commands/serve/command.py,sha256=r27g3mw-P77LfP43ygTk9QbxN7HklWbzrlosjO4hB5c,6537
200
200
  amsdal_cli/commands/serve/utils.py,sha256=ErwuQFRJxo32Y7uLgxtUXYdbPlDCYsh8OfAkqWSblrA,18475
@@ -221,7 +221,7 @@ amsdal_cli/config/main.py,sha256=leYnDJlzhzIAYWOH65QhPLu4zk3ii26ogMBWGYx3uqM,287
221
221
  amsdal_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
222
222
  amsdal_cli/utils/alias_group.py,sha256=v0ninrhZGtZFuJtUH6ZZZ97Irs96nkmIBFm2gY1NdmU,991
223
223
  amsdal_cli/utils/check_versions.py,sha256=4Q3GwY_0xgP_RV_ITuFSDigXds-f1QhqCqkUkn-CSMI,1475
224
- amsdal_cli/utils/cli_config.py,sha256=4trzdWfbvR0jc9rgyahgl7sKGlodRJMEa7NvZAzENRM,2797
224
+ amsdal_cli/utils/cli_config.py,sha256=V2Do7j0zI6_WScDQ55e2OB0kt-ZHXZPfRPe9yfeWhl0,2798
225
225
  amsdal_cli/utils/copier.py,sha256=nKo0-P1AhWIb7IjbndYr3Vnvd_avCa566iIbXLK_5a0,5122
226
226
  amsdal_cli/utils/markdown_patch.py,sha256=RW58pJhRoUYW1fhId70hw8MD2DF-UqXTYfv7JrSGz5I,1816
227
227
  amsdal_cli/utils/render_template.py,sha256=wVjw6K4JZDKz0VElC76Dkgme8di4yfhHIb6hVju9el4,645
@@ -230,10 +230,10 @@ amsdal_cli/utils/text.py,sha256=oAC6H6nhuH_jSdKqbC3vRKpgzs2Qot7DluojWOwh9GU,2489
230
230
  amsdal_cli/utils/vcs/__init__.py,sha256=WWxqfpYP5AK9zGj6_KzKfbQCX6H1FCLqHfQyVnRof9E,513
231
231
  amsdal_cli/utils/vcs/base.py,sha256=jC05ExJZDnyHAsW7_4IDf8gQcYgK4dXq3zNlFIX66T4,422
232
232
  amsdal_cli/utils/vcs/dummy.py,sha256=Lk8MT-b0YlHHUsiXsq5cvmPwcl4jTYdo8piN5_C8ORA,434
233
- amsdal_cli/utils/vcs/enums.py,sha256=tYR9LN1IOr8BZFbSeX_vDlhn8fPl4IU-Yakii8lRDYs,69
233
+ amsdal_cli/utils/vcs/enums.py,sha256=Y18zEM77EGgjmmcO_3qzLHrALrTnXAXngoA0v60PhIw,70
234
234
  amsdal_cli/utils/vcs/git.py,sha256=xHynbZcV6p2D3RFCwu1MGGpV9D7eK-pGUtO8kVexTQM,1269
235
- amsdal_cli-0.5.10.dist-info/METADATA,sha256=tT-PolxQpK1kAtb8Pu09ZphgzxrFfhkVDLrypcbjMqM,57165
236
- amsdal_cli-0.5.10.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
237
- amsdal_cli-0.5.10.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
238
- amsdal_cli-0.5.10.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
239
- amsdal_cli-0.5.10.dist-info/RECORD,,
235
+ amsdal_cli-0.6.0.dist-info/METADATA,sha256=5yqUFLsn4zXwG7ONR9lrpCg2Aip5ebQt1ggJhytjuMo,57164
236
+ amsdal_cli-0.6.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
237
+ amsdal_cli-0.6.0.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
238
+ amsdal_cli-0.6.0.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
239
+ amsdal_cli-0.6.0.dist-info/RECORD,,