amsdal_cli 0.5.2__py3-none-any.whl → 0.5.4__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.
Files changed (37) hide show
  1. amsdal_cli/__about__.py +1 -1
  2. amsdal_cli/commands/api_check/__init__.py +0 -0
  3. amsdal_cli/commands/api_check/command.py +118 -0
  4. amsdal_cli/commands/api_check/config.py +192 -0
  5. amsdal_cli/commands/api_check/data_classes.py +13 -0
  6. amsdal_cli/commands/api_check/operation_log.py +78 -0
  7. amsdal_cli/commands/api_check/services/__init__.py +0 -0
  8. amsdal_cli/commands/api_check/services/comparison.py +47 -0
  9. amsdal_cli/commands/api_check/services/data_factory.py +158 -0
  10. amsdal_cli/commands/api_check/services/loader.py +11 -0
  11. amsdal_cli/commands/api_check/services/runner.py +499 -0
  12. amsdal_cli/commands/api_check/services/storage.py +12 -0
  13. amsdal_cli/commands/build/services/mixin.py +2 -2
  14. amsdal_cli/commands/callbacks.py +1 -1
  15. amsdal_cli/commands/generate/utils/tests/type_utils.py +3 -3
  16. amsdal_cli/commands/migrations/sub_commands/__init__.py +2 -0
  17. amsdal_cli/commands/migrations/sub_commands/apply.py +6 -44
  18. amsdal_cli/commands/migrations/sub_commands/list.py +26 -25
  19. amsdal_cli/commands/migrations/sub_commands/make_contrib.py +179 -0
  20. amsdal_cli/commands/migrations/utils.py +86 -0
  21. amsdal_cli/commands/plugin/__init__.py +0 -0
  22. amsdal_cli/commands/plugin/command.py +149 -0
  23. amsdal_cli/commands/plugin/templates/.amsdal-cli +10 -0
  24. amsdal_cli/commands/plugin/templates/README.md +49 -0
  25. amsdal_cli/commands/plugin/templates/plugin.yml +20 -0
  26. amsdal_cli/commands/plugin/templates/requirements.txt +1 -0
  27. amsdal_cli/commands/plugin/templates/src/models/__init__.py +1 -0
  28. amsdal_cli/commands/plugin/templates/src/transactions/__init__.py +1 -0
  29. amsdal_cli/commands/plugin/templates/src/transactions/example_transaction.py +47 -0
  30. amsdal_cli/commands/serve/utils.py +1 -1
  31. amsdal_cli/commands/worker/sub_commands/run.py +2 -2
  32. amsdal_cli/config/main.py +2 -0
  33. {amsdal_cli-0.5.2.dist-info → amsdal_cli-0.5.4.dist-info}/METADATA +2 -1
  34. {amsdal_cli-0.5.2.dist-info → amsdal_cli-0.5.4.dist-info}/RECORD +37 -15
  35. {amsdal_cli-0.5.2.dist-info → amsdal_cli-0.5.4.dist-info}/WHEEL +0 -0
  36. {amsdal_cli-0.5.2.dist-info → amsdal_cli-0.5.4.dist-info}/entry_points.txt +0 -0
  37. {amsdal_cli-0.5.2.dist-info → amsdal_cli-0.5.4.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_cli
3
- Version: 0.5.2
3
+ Version: 0.5.4
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/
@@ -125,6 +125,7 @@ Requires-Dist: amsdal-server==0.5.*
125
125
  Requires-Dist: click<8.2.0
126
126
  Requires-Dist: faker==27.*
127
127
  Requires-Dist: gitpython~=3.1
128
+ Requires-Dist: httpx==0.28.*
128
129
  Requires-Dist: jinja2~=3.1
129
130
  Requires-Dist: pydantic-settings~=2.2
130
131
  Requires-Dist: pydantic~=2.3
@@ -1,11 +1,22 @@
1
1
  amsdal_cli/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=uHJlGG0D4tbpUi8cq-497NNO9ltQ67a5448k-T14HTw,68241
2
- amsdal_cli/__about__.py,sha256=glsk81MrslMVQFReYet26elGhdxBZYmME4LF8nyLdxA,124
2
+ amsdal_cli/__about__.py,sha256=Wtwe0oKsI5yPYO-Bi6bO-d5lQqCSshnr9G6Vx7i__Vg,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
6
6
  amsdal_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  amsdal_cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- amsdal_cli/commands/callbacks.py,sha256=MtvIBfz4VzLZTwR0oIdEf1nRAMWkc8h8u3-Qaie9-dM,4160
8
+ amsdal_cli/commands/callbacks.py,sha256=JZRLdyK3w3yTQp5JiXJ57qFY8HyODofKDmu2Epj-yY4,4183
9
+ amsdal_cli/commands/api_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ amsdal_cli/commands/api_check/command.py,sha256=dKi37KfkRY6S2PBSeG2kopnZs8OvCkefQCkPx4ud_4Y,4193
11
+ amsdal_cli/commands/api_check/config.py,sha256=X398zfXddxHCJY4v3PBz6IyWsAsTXJRNNt07Nf_0ow8,6711
12
+ amsdal_cli/commands/api_check/data_classes.py,sha256=qohIcWge323oIYIvuo5586BS21jyDw0y3ZPikQfb7Co,220
13
+ amsdal_cli/commands/api_check/operation_log.py,sha256=4E7BTMz74cotS1OAvvd0x6xbXKz9B-PAbjkmTsd_wsI,2620
14
+ amsdal_cli/commands/api_check/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ amsdal_cli/commands/api_check/services/comparison.py,sha256=LFQI6qg6LUcPda72qcJSJGdgVVEcQPjTcrtf9wrh4fM,1493
16
+ amsdal_cli/commands/api_check/services/data_factory.py,sha256=m7bcNw2x0I2M-odYQ7_rHIDAdv6UcQOjHTt2LJZ3hhc,5565
17
+ amsdal_cli/commands/api_check/services/loader.py,sha256=P-uygPa-RsZUiTMxSB_26Pm8I9T62EmclKGyluksEjw,302
18
+ amsdal_cli/commands/api_check/services/runner.py,sha256=hRrjXb5LGDQHHle7Zegg4PHV2bUYZmWXcA5krnnr0VI,18731
19
+ amsdal_cli/commands/api_check/services/storage.py,sha256=Onlp7uR6PWR-sCPZVpzPyKyn7isYc8ppPcg6li2Ss78,514
9
20
  amsdal_cli/commands/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
21
  amsdal_cli/commands/build/command.py,sha256=1-Thx2Iz-xr9UDulTiBRZYValCdWhg-SgUAnF370N1o,742
11
22
  amsdal_cli/commands/build/constants.py,sha256=an5hbofZrKzyFfxTCu4VSmNQGtAMRSrDj1_TnncyZOw,42
@@ -32,7 +43,7 @@ amsdal_cli/commands/build/schemas/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
32
43
  amsdal_cli/commands/build/schemas/utils/merger.py,sha256=8dlSV3qgGAGNbOtGGx8zQ7yC99dihxg8JwPHMDboU2w,2229
33
44
  amsdal_cli/commands/build/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
45
  amsdal_cli/commands/build/services/builder.py,sha256=vdR5rqJvjJjfrAAqkFNfnF6MUr4Nai5K_gxyvCQa8mw,3220
35
- amsdal_cli/commands/build/services/mixin.py,sha256=KdjyrB0CaFQWIU9AZ6Z63tmfIEX5ZEo5HKD32KemDMQ,5749
46
+ amsdal_cli/commands/build/services/mixin.py,sha256=8MHkasdQ1nPpBY90S4KHpr1rTHLC9Om2v89golcWE38,5749
36
47
  amsdal_cli/commands/build/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
48
  amsdal_cli/commands/build/utils/build_config_file.py,sha256=65s3rP_nnr5FJLQlYStGF2JNYxExq5tWZvIU_h8Ae7I,2009
38
49
  amsdal_cli/commands/ci_cd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -126,7 +137,7 @@ amsdal_cli/commands/generate/utils/tests/async_mode_utils.py,sha256=iub84Pj5TMa3
126
137
  amsdal_cli/commands/generate/utils/tests/conftest_utils.py,sha256=8KzHtDh7eQGghhj5aZkY7Mu2rrlkBgM4Khf857iGG1Y,838
127
138
  amsdal_cli/commands/generate/utils/tests/function_utils.py,sha256=Bkk9JDbANX2aSreNRr1Bste5rPwVKc2HV5xLFg2dQK4,496
128
139
  amsdal_cli/commands/generate/utils/tests/model_utils.py,sha256=CBfR9AcL6Q1boEejjmOD16F0kgJFdIjYYWNE3vQMkfE,4051
129
- amsdal_cli/commands/generate/utils/tests/type_utils.py,sha256=PkPmSvLCKOK5wWw1Q9oVMUZ0nUpHEtj6PlBsO7enmzY,9247
140
+ amsdal_cli/commands/generate/utils/tests/type_utils.py,sha256=yglZHcvAQ0m6JnwQEBxHdcWxlkHY65P-Cp81fCrC3q8,9325
130
141
  amsdal_cli/commands/generate/utils/tests/unit.py,sha256=KRqBhk_jy_1vp0RZub7HdYxfhn3Bra2v0heDNNPldeE,27741
131
142
  amsdal_cli/commands/generate/utils/tests/templates/async/conftest.py,sha256=9GfoV_HzwuWtglI7uz0fP5_pOsPk2f56elaoinuPa80,1632
132
143
  amsdal_cli/commands/generate/utils/tests/templates/sync/conftest.py,sha256=wMmnKQnVTSJsS5MdH25ChRcc-aQevQYqIZhXwLnZl0U,1564
@@ -134,10 +145,12 @@ amsdal_cli/commands/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
134
145
  amsdal_cli/commands/migrations/app.py,sha256=0HsKjZ5D2j9xkOi2Fuvs3VdlhWyQnS8XJ6pKRi9EcFI,312
135
146
  amsdal_cli/commands/migrations/command.py,sha256=jlpdYZAc02ZUBxSdzGSzkDxEb1nlHNzoq05FdRCSzus,206
136
147
  amsdal_cli/commands/migrations/constants.py,sha256=846-DQ-Iqcxw2akd5aBAmbnXHDmRFqEKu6vai2ZFBkU,35
137
- amsdal_cli/commands/migrations/sub_commands/__init__.py,sha256=_rWbDyY3DPdN-6vE60djCtHejvSkl6d1e2Z4ScM52bo,976
138
- amsdal_cli/commands/migrations/sub_commands/apply.py,sha256=FmkdIE5RUrCCkLJVgM3rtLva-4rYkKlzbjanOQqadUQ,9744
139
- amsdal_cli/commands/migrations/sub_commands/list.py,sha256=cskcdftYy-u-_rH1iPhreTQv_XiGD42bwi3vQCVe8to,6188
148
+ amsdal_cli/commands/migrations/utils.py,sha256=Fvu6NlIFL3OAz0MhLkvnucIsHBZlDDCOZZ38VhNahws,2700
149
+ amsdal_cli/commands/migrations/sub_commands/__init__.py,sha256=HHxiJxcbJUQLv6QOLwcvcSjTYJTixiRJ89IUb1H7sRo,1100
150
+ amsdal_cli/commands/migrations/sub_commands/apply.py,sha256=4MyO_gP7r4PBRz_agi2xnoMTHcLlvxlo4335mmLrpYQ,8696
151
+ amsdal_cli/commands/migrations/sub_commands/list.py,sha256=vC-oeTVHjYNzI_HhiylZSNeOsIFvnDZ6TRwrqQ-wpUk,5833
140
152
  amsdal_cli/commands/migrations/sub_commands/make.py,sha256=5DiSp5j_iv1Mk7eVFRJ_yCVdc1lZGkctmtY-tNbqaTk,6322
153
+ amsdal_cli/commands/migrations/sub_commands/make_contrib.py,sha256=KbB19I95Uh3dy00Peg9dDc09rcxI2c8FrTIazSaTVw8,6449
141
154
  amsdal_cli/commands/new/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
142
155
  amsdal_cli/commands/new/command.py,sha256=NDuDZNwreyuHsv4tbE-yrNOJViB8wk35IcKvGKQXPXo,3302
143
156
  amsdal_cli/commands/new/templates/.amsdal-cli,sha256=PdXPovcT8AfPhqwDLI_4EWFYAS6e3J5JcsHVityBdF8,304
@@ -148,6 +161,15 @@ amsdal_cli/commands/new/templates/requirements.txt,sha256=SZ3s8KxuCFfat3FHl8-ZF3
148
161
  amsdal_cli/commands/new/templates/.amsdal/.dependencies,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
149
162
  amsdal_cli/commands/new/templates/.amsdal/.environment,sha256=DW5AeeNnA-vTfAByL1iR0osOKBHcEUsSkhUSOtzONgU,4
150
163
  amsdal_cli/commands/new/templates/.amsdal/.secrets,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
164
+ amsdal_cli/commands/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
+ amsdal_cli/commands/plugin/command.py,sha256=slvPYAH18NH_O0xgmAqym5pdRWSI6Kqt2FZ3dHoGXmY,4497
166
+ amsdal_cli/commands/plugin/templates/.amsdal-cli,sha256=8vNUY3kypNLxBc2ZvdK4Gp9PhX4GNIGBMTieENjikpM,288
167
+ amsdal_cli/commands/plugin/templates/README.md,sha256=iLcitbO6UgrsZXXrjUmJAd9LiuZ7XHtrB0xdHUMAOS8,1179
168
+ amsdal_cli/commands/plugin/templates/plugin.yml,sha256=k4On3XnM8Wm8CijE05BcAf_4eXKYWDe01L2cgEx7oSQ,457
169
+ amsdal_cli/commands/plugin/templates/requirements.txt,sha256=Je2tTIrKDioyTKfFj_LCyJQsuZSTNU-_fpl_eCRZSFQ,37
170
+ amsdal_cli/commands/plugin/templates/src/models/__init__.py,sha256=93F5MjA9NayBY6wY_ypyf55KYER3eovgj5K0IM8w3Qs,49
171
+ amsdal_cli/commands/plugin/templates/src/transactions/__init__.py,sha256=NzpIjXV6XKtBiZoteisyuWYjZNebuh3EAZ3tzrkAFvU,55
172
+ amsdal_cli/commands/plugin/templates/src/transactions/example_transaction.py,sha256=4NZVRuZ2BXM-nREvGbZv7H36EbzQHGSWBGFaTYWc_E4,1293
151
173
  amsdal_cli/commands/register_connection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
152
174
  amsdal_cli/commands/register_connection/command.py,sha256=MdW8j1Q4TfufMl3Z4JVECX_OXIVya0tQ-vJj0Zc5Bdk,5145
153
175
  amsdal_cli/commands/register_connection/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -164,7 +186,7 @@ amsdal_cli/commands/restore/command.py,sha256=4ybZ_p5i7t3QHfvz__FUmdO2vaK-4D5YR1
164
186
  amsdal_cli/commands/restore/enums.py,sha256=6SiKMRGlSjiLyepfbfQFXGAYqlM6Bkoeko2KscntTUQ,307
165
187
  amsdal_cli/commands/serve/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
166
188
  amsdal_cli/commands/serve/command.py,sha256=x1_8gZDhRCUQt2-8v1K7__2uPjIlte_tY1ctJxVbl4k,6599
167
- amsdal_cli/commands/serve/utils.py,sha256=GhUxSdNN2eX8XbzVtl6IdAcMUY_UdozHKkoCVgaTVKs,18613
189
+ amsdal_cli/commands/serve/utils.py,sha256=tb0OjE8uAWfEfpXt_LUJjJG7vWoLKpa152R3Svlan_w,18602
168
190
  amsdal_cli/commands/serve/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
191
  amsdal_cli/commands/serve/filters/models_watch_filter.py,sha256=cnoAjrn-PYDAFq5MtgbQ6QeCvJJmcNisVNlA8QtFv4A,170
170
192
  amsdal_cli/commands/serve/filters/static_files_watch_filter.py,sha256=jKAF5RHq1au2v0kcOrqaAHP1x5IUjt_KgZURJLm29Tw,552
@@ -182,9 +204,9 @@ amsdal_cli/commands/worker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
182
204
  amsdal_cli/commands/worker/app.py,sha256=X0irXtvo7Gq2g-tsRTPxi9KkgM38DsIvtDMaeGnqZJY,148
183
205
  amsdal_cli/commands/worker/command.py,sha256=e3uL38VYCp71-XsVYvE1xlt2FqhP54ujlhVFhK7_9Jw,186
184
206
  amsdal_cli/commands/worker/sub_commands/__init__.py,sha256=5AVFexW1UpfPpfNfYoioA6Pix1uiRSEjVEa-_wP89j4,100
185
- amsdal_cli/commands/worker/sub_commands/run.py,sha256=Bnl__gGl058IR_7JuJ915fOWbctRNH_Vqv3a-PFx8Do,4375
207
+ amsdal_cli/commands/worker/sub_commands/run.py,sha256=gQ5fuQwB4Xouyosau0X2YB38DsomkZyUt2MREXeg7jE,4355
186
208
  amsdal_cli/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
- amsdal_cli/config/main.py,sha256=A1XPNQmf7usUu2h80DlRiOPpyT8KkGVTjxUeCYHjpaU,2787
209
+ amsdal_cli/config/main.py,sha256=leYnDJlzhzIAYWOH65QhPLu4zk3ii26ogMBWGYx3uqM,2874
188
210
  amsdal_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
211
  amsdal_cli/utils/alias_group.py,sha256=v0ninrhZGtZFuJtUH6ZZZ97Irs96nkmIBFm2gY1NdmU,991
190
212
  amsdal_cli/utils/check_versions.py,sha256=4Q3GwY_0xgP_RV_ITuFSDigXds-f1QhqCqkUkn-CSMI,1475
@@ -199,8 +221,8 @@ amsdal_cli/utils/vcs/base.py,sha256=jC05ExJZDnyHAsW7_4IDf8gQcYgK4dXq3zNlFIX66T4,
199
221
  amsdal_cli/utils/vcs/dummy.py,sha256=Lk8MT-b0YlHHUsiXsq5cvmPwcl4jTYdo8piN5_C8ORA,434
200
222
  amsdal_cli/utils/vcs/enums.py,sha256=tYR9LN1IOr8BZFbSeX_vDlhn8fPl4IU-Yakii8lRDYs,69
201
223
  amsdal_cli/utils/vcs/git.py,sha256=xHynbZcV6p2D3RFCwu1MGGpV9D7eK-pGUtO8kVexTQM,1269
202
- amsdal_cli-0.5.2.dist-info/METADATA,sha256=Cw8QNTI-NaKoXG7Ijm3wvb4HXR3rk056YgJT0InZ6eg,57076
203
- amsdal_cli-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
204
- amsdal_cli-0.5.2.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
205
- amsdal_cli-0.5.2.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
206
- amsdal_cli-0.5.2.dist-info/RECORD,,
224
+ amsdal_cli-0.5.4.dist-info/METADATA,sha256=CPl5enVl50buoUzbJW1Qjlqe00XbeWDnRtLFpHZNDac,57105
225
+ amsdal_cli-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
226
+ amsdal_cli-0.5.4.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
227
+ amsdal_cli-0.5.4.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
228
+ amsdal_cli-0.5.4.dist-info/RECORD,,