amsdal_cli 0.5.7__py3-none-any.whl → 0.5.8__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.7'
4
+ __version__ = '0.5.8'
@@ -81,7 +81,17 @@ class ConfigReaderMixin:
81
81
  """
82
82
  object_config = next(cls.read_configs_from_file(json_file))
83
83
 
84
- return object_config.type != 'Fixture'
84
+ # Exclude fixtures
85
+ if object_config.type == 'Fixture':
86
+ return False
87
+
88
+ # Exclude external models (models with __connection__ attribute)
89
+ # Check model_extra (Pydantic v2) for extra fields
90
+ if hasattr(object_config, 'model_extra') and object_config.model_extra:
91
+ if '__connection__' in object_config.model_extra:
92
+ return False
93
+
94
+ return True
85
95
 
86
96
  @staticmethod
87
97
  def read_configs_from_file(json_file: Path) -> Iterator[ObjectSchema]:
@@ -38,6 +38,12 @@ class AppBuilder(BuildMixin):
38
38
  self.build_models(self.cli_config)
39
39
  elif (self.source_path / 'models').exists():
40
40
  self.copy_class_models(self.source_path / 'models')
41
+
42
+ # Copy external models if they exist
43
+ external_models_path = self.cli_config.app_directory / 'models' / 'external'
44
+ if external_models_path.exists():
45
+ self.copy_external_models(external_models_path)
46
+
41
47
  if not is_silent:
42
48
  rprint(rich_success('OK!'))
43
49
 
@@ -53,6 +53,31 @@ class BuildMixin:
53
53
  dirs_exist_ok=True,
54
54
  )
55
55
 
56
+ @staticmethod
57
+ def copy_external_models(external_models_path: Path) -> None:
58
+ """Copy external models to the build directory.
59
+
60
+ Args:
61
+ external_models_path: Path to the external models directory (e.g., models/external)
62
+ """
63
+ from amsdal.configs.main import settings
64
+
65
+ if not settings.USER_MODELS_MODULE_PATH:
66
+ return
67
+
68
+ # External models go to USER_MODELS_MODULE_PATH/external
69
+ target_path = settings.USER_MODELS_MODULE_PATH / 'external'
70
+
71
+ # Skip copy if source and target are the same (e.g., when building in place)
72
+ if external_models_path.resolve() == target_path.resolve():
73
+ return
74
+
75
+ shutil.copytree(
76
+ external_models_path,
77
+ target_path,
78
+ dirs_exist_ok=True,
79
+ )
80
+
56
81
  @staticmethod
57
82
  def build_transactions(cli_app_path: Path) -> None:
58
83
  """
@@ -1,3 +1,4 @@
1
+ from amsdal_cli.commands.generate.sub_commands.generate_external_models import generate_external_models
1
2
  from amsdal_cli.commands.generate.sub_commands.generate_frontend_config import generate_frontend_config
2
3
  from amsdal_cli.commands.generate.sub_commands.generate_hook import generate_hook
3
4
  from amsdal_cli.commands.generate.sub_commands.generate_model import generate_model
@@ -8,6 +9,7 @@ from amsdal_cli.commands.generate.sub_commands.generate_tests import generate_te
8
9
  from amsdal_cli.commands.generate.sub_commands.generate_transaction import generate_transaction
9
10
 
10
11
  __all__ = [
12
+ 'generate_external_models',
11
13
  'generate_frontend_config',
12
14
  'generate_hook',
13
15
  'generate_model',
@@ -0,0 +1,365 @@
1
+ """Generate ExternalModel classes from external database connections."""
2
+
3
+ from pathlib import Path
4
+ from typing import TYPE_CHECKING
5
+ from typing import Any
6
+
7
+ import typer
8
+
9
+ from amsdal_cli.commands.generate.app import sub_app
10
+
11
+ if TYPE_CHECKING:
12
+ from amsdal_cli.utils.cli_config import CliConfig
13
+
14
+
15
+ @sub_app.command(name='external-models, ext-models, em')
16
+ def generate_external_models(
17
+ ctx: typer.Context,
18
+ connection_name: str = typer.Argument(
19
+ ...,
20
+ help='The name of the external connection configured in config',
21
+ ),
22
+ output_dir: Path = typer.Option( # noqa: B008
23
+ None,
24
+ '--output',
25
+ '-o',
26
+ help='Output directory for generated models (defaults to models/external/)',
27
+ ),
28
+ tables: list[str] = typer.Option( # noqa: B008
29
+ None,
30
+ '--table',
31
+ '-t',
32
+ help='Specific table names to generate models for (generates all if not specified)',
33
+ ),
34
+ format_type: str = typer.Option( # noqa: B008
35
+ 'python',
36
+ '--format',
37
+ '-f',
38
+ help='Output format: "python" or "json"',
39
+ ),
40
+ schema: str | None = typer.Option( # noqa: B008, ARG001
41
+ None,
42
+ '--schema',
43
+ '-s',
44
+ help='Database schema name (for databases that support schemas like PostgreSQL)',
45
+ ),
46
+ ) -> None:
47
+ """Generate ExternalModel classes from external database connections.
48
+
49
+ This command introspects an external database connection and generates
50
+ ExternalModel classes for the tables. The generated models can be used
51
+ immediately to query the external database.
52
+
53
+ **Examples:**
54
+
55
+ Generate models for all tables in an external connection:
56
+
57
+ ```bash
58
+ amsdal generate external-models my_external_db
59
+ ```
60
+
61
+ Generate models for specific tables only:
62
+
63
+ ```bash
64
+ amsdal generate external-models my_external_db -t users -t posts -t comments
65
+ ```
66
+
67
+ Generate models in JSON format:
68
+
69
+ ```bash
70
+ amsdal generate external-models my_external_db --format json
71
+ ```
72
+
73
+ Specify custom output directory:
74
+
75
+ ```bash
76
+ amsdal generate external-models my_external_db -o src/external_models
77
+ ```
78
+
79
+ Generate models for a specific PostgreSQL schema:
80
+
81
+ ```bash
82
+ amsdal generate external-models pg_db --schema public
83
+ ```
84
+
85
+ **Prerequisites:**
86
+
87
+ 1. The external connection must be configured in your AMSDAL config
88
+ 2. The connection must support schema introspection (SQLite, PostgreSQL)
89
+ 3. The ExternalConnectionManager must be properly set up
90
+
91
+ **Generated Output:**
92
+
93
+ For Python format:
94
+ - Creates a module for each model: `models/external/{table_name}.py`
95
+ - Each module contains an ExternalModel class ready to use
96
+
97
+ For JSON format:
98
+ - Creates JSON schema files: `models/external/{table_name}/model.json`
99
+ - Can be loaded dynamically by AMSDAL framework
100
+ """
101
+ from amsdal.services.external_connections import ExternalConnectionManager
102
+ from amsdal.services.external_model_generator import ExternalModelGenerator
103
+ from amsdal_data.application import DataApplication
104
+ from amsdal_utils.config.manager import AmsdalConfigManager
105
+ from amsdal_utils.utils.text import to_snake_case
106
+
107
+ from amsdal_cli.utils.cli_config import CliConfig
108
+
109
+ cli_config: CliConfig = ctx.meta['config']
110
+
111
+ # Validate format
112
+ if format_type not in ('python', 'json'):
113
+ typer.echo(f"Error: Invalid format '{format_type}'. Must be 'python' or 'json'.", err=True)
114
+ raise typer.Exit(1)
115
+
116
+ # Set default output directory
117
+ if output_dir is None:
118
+ output_dir = Path.cwd() / 'models' / 'external'
119
+
120
+ # Ensure output directory exists
121
+ output_dir.mkdir(parents=True, exist_ok=True)
122
+
123
+ # Initialize AMSDAL components
124
+ config_manager = AmsdalConfigManager()
125
+ config = config_manager.get_config()
126
+
127
+ # Verify connection exists in config
128
+ if connection_name not in config.connections:
129
+ typer.echo(
130
+ f"Error: Connection '{connection_name}' not found in configuration.\n"
131
+ f'Available connections: {", ".join(config.connections.keys())}',
132
+ err=True,
133
+ )
134
+ raise typer.Exit(1)
135
+
136
+ # Initialize DataApplication
137
+ app = DataApplication()
138
+ app.setup(config)
139
+
140
+ # Initialize ExternalConnectionManager
141
+ manager = ExternalConnectionManager()
142
+ manager.setup(data_application=app)
143
+
144
+ # Initialize ExternalModelGenerator
145
+ generator = ExternalModelGenerator()
146
+
147
+ try:
148
+ # Generate models
149
+ typer.echo(f"Generating external models from connection '{connection_name}'...")
150
+
151
+ if tables:
152
+ typer.echo(f'Tables: {", ".join(tables)}')
153
+ else:
154
+ typer.echo('Generating models for all tables...')
155
+
156
+ models_dict = generator.generate_models_for_connection(
157
+ connection_name=connection_name,
158
+ table_names=tables if tables else None,
159
+ )
160
+
161
+ if not models_dict:
162
+ typer.echo('No tables found or no models generated.', err=True)
163
+ raise typer.Exit(1)
164
+
165
+ typer.echo(f'Successfully generated {len(models_dict)} model(s)')
166
+
167
+ # Write models to files
168
+ if format_type == 'python':
169
+ _write_python_models(models_dict, output_dir, cli_config)
170
+ else:
171
+ _write_json_models(models_dict, output_dir, cli_config, connection_name)
172
+
173
+ typer.echo(f'\nGenerated models written to: {output_dir}')
174
+ typer.echo('\nYou can now import and use these models:')
175
+ typer.echo('```python')
176
+ first_model = next(iter(models_dict.keys()))
177
+ typer.echo(f'from models.external.{to_snake_case(first_model)} import {first_model}')
178
+ typer.echo(f'{first_model}.objects.all().execute()')
179
+ typer.echo('```')
180
+
181
+ except ValueError as e:
182
+ typer.echo(f'Error: {e}', err=True)
183
+ raise typer.Exit(1) from e
184
+ except ConnectionError as e:
185
+ typer.echo(f'Connection error: {e}', err=True)
186
+ raise typer.Exit(1) from e
187
+ except Exception as e:
188
+ typer.echo(f'Unexpected error: {e}', err=True)
189
+ raise typer.Exit(1) from e
190
+ finally:
191
+ # Clean up
192
+ app.teardown()
193
+ ExternalConnectionManager.invalidate()
194
+ AmsdalConfigManager.invalidate()
195
+ DataApplication.invalidate()
196
+
197
+
198
+ def _write_python_models(
199
+ models_dict: dict[str, type],
200
+ output_dir: Path,
201
+ cli_config: 'CliConfig', # noqa: F821
202
+ ) -> None:
203
+ """Write generated models as Python files."""
204
+ from amsdal_utils.utils.text import to_snake_case
205
+
206
+ # Create __init__.py for the package
207
+ init_file = output_dir / '__init__.py'
208
+ init_file.touch(exist_ok=True)
209
+
210
+ # Write each model to a separate file
211
+ for model_name, model_class in models_dict.items():
212
+ module_name = to_snake_case(model_name)
213
+ file_path = output_dir / f'{module_name}.py'
214
+
215
+ # Generate the model file content
216
+ content = _generate_python_model_content(model_class, cli_config)
217
+
218
+ # Write to file
219
+ file_path.write_text(content)
220
+ typer.echo(f' ✓ {module_name}.py')
221
+
222
+
223
+ def _generate_python_model_content(model_class: type, cli_config: 'CliConfig') -> str: # noqa: F821
224
+ """Generate Python code for an ExternalModel class."""
225
+ model_name = model_class.__name__
226
+ table_name = model_class.__table_name__ # type: ignore[attr-defined]
227
+ connection = model_class.__connection__ # type: ignore[attr-defined]
228
+
229
+ # Get annotations
230
+ annotations = getattr(model_class, '__annotations__', {})
231
+
232
+ # Build imports
233
+ imports = {'from amsdal_models.classes.external_model import ExternalModel'}
234
+
235
+ # Build field definitions
236
+ field_lines = []
237
+ indent = ' ' * cli_config.indent
238
+
239
+ for field_name, field_type in annotations.items():
240
+ type_str = _get_type_annotation(field_type)
241
+ field_lines.append(f'{indent}{field_name}: {type_str}')
242
+
243
+ # Build class definition
244
+ lines = [
245
+ '"""',
246
+ f'External model for {table_name} table.',
247
+ '',
248
+ f'Generated from external connection: {connection}',
249
+ '"""',
250
+ '',
251
+ *sorted(imports),
252
+ '',
253
+ '',
254
+ f'class {model_name}(ExternalModel):',
255
+ f'{indent}"""External model for {table_name}."""',
256
+ '',
257
+ f"{indent}__table_name__ = '{table_name}'",
258
+ f"{indent}__connection__ = '{connection}'",
259
+ ]
260
+
261
+ # Add primary key if present
262
+ if hasattr(model_class, '__primary_key__'):
263
+ pk = model_class.__primary_key__
264
+ if isinstance(pk, list):
265
+ lines.append(f'{indent}__primary_key__ = {pk!r}')
266
+ else:
267
+ lines.append(f"{indent}__primary_key__ = '{pk}'")
268
+
269
+ # Add field definitions
270
+ if field_lines:
271
+ lines.append('')
272
+ lines.extend(field_lines)
273
+
274
+ return '\n'.join(lines) + '\n'
275
+
276
+
277
+ def _get_type_annotation(python_type: type) -> str:
278
+ """Convert Python type to string annotation."""
279
+ type_mapping = {
280
+ str: 'str',
281
+ int: 'int',
282
+ float: 'float',
283
+ bool: 'bool',
284
+ bytes: 'bytes',
285
+ list: 'list',
286
+ dict: 'dict',
287
+ }
288
+
289
+ return type_mapping.get(python_type, 'str')
290
+
291
+
292
+ def _write_json_models(
293
+ models_dict: dict[str, type],
294
+ output_dir: Path,
295
+ cli_config: 'CliConfig', # noqa: F821
296
+ connection_name: str,
297
+ ) -> None:
298
+ """Write generated models as JSON schema files."""
299
+ import json
300
+
301
+ from amsdal_utils.utils.text import to_snake_case
302
+
303
+ for model_name, model_class in models_dict.items():
304
+ module_name = to_snake_case(model_name)
305
+ model_dir = output_dir / module_name
306
+ model_dir.mkdir(exist_ok=True, parents=True)
307
+
308
+ json_file = model_dir / 'model.json'
309
+
310
+ # Build JSON schema
311
+ schema = _generate_json_schema(model_class, connection_name)
312
+
313
+ # Write to file
314
+ json_file.write_text(json.dumps(schema, indent=cli_config.indent, ensure_ascii=False))
315
+ typer.echo(f' ✓ {module_name}/model.json')
316
+
317
+
318
+ def _generate_json_schema(model_class: type, connection_name: str) -> dict[str, Any]:
319
+ """Generate JSON schema for an ExternalModel class."""
320
+ model_name = model_class.__name__
321
+ table_name = model_class.__table_name__ # type: ignore[attr-defined]
322
+ annotations = getattr(model_class, '__annotations__', {})
323
+
324
+ # Build properties
325
+ properties = {}
326
+ for field_name, field_type in annotations.items():
327
+ properties[field_name] = {
328
+ 'type': _python_type_to_json_type(field_type),
329
+ 'title': field_name,
330
+ }
331
+
332
+ schema: dict[str, Any] = {
333
+ 'title': model_name,
334
+ 'type': 'object',
335
+ 'properties': properties,
336
+ '__table_name__': table_name,
337
+ '__connection__': connection_name,
338
+ }
339
+
340
+ # Add primary key if present
341
+ if hasattr(model_class, '__primary_key__'):
342
+ pk = model_class.__primary_key__
343
+ if isinstance(pk, str):
344
+ schema['__primary_key__'] = [pk]
345
+ else:
346
+ schema['__primary_key__'] = list(pk)
347
+
348
+ return schema
349
+
350
+
351
+ def _python_type_to_json_type(python_type: type) -> str:
352
+ """Convert Python type to JSON schema type string."""
353
+ from amsdal_utils.models.data_models.enums import CoreTypes
354
+
355
+ type_mapping = {
356
+ str: CoreTypes.STRING.value,
357
+ int: CoreTypes.INTEGER.value,
358
+ float: CoreTypes.NUMBER.value,
359
+ bool: CoreTypes.BOOLEAN.value,
360
+ bytes: CoreTypes.BINARY.value,
361
+ list: CoreTypes.ARRAY.value,
362
+ dict: CoreTypes.DICTIONARY.value,
363
+ }
364
+
365
+ return type_mapping.get(python_type, CoreTypes.STRING.value)
@@ -55,7 +55,7 @@ def _sync_apply(
55
55
  core_migrations_path=CORE_MIGRATIONS_PATH,
56
56
  app_migrations_loader=app_migrations_loader,
57
57
  executor=DefaultMigrationExecutor(schemas),
58
- contrib=settings.CONTRIBS,
58
+ contrib=settings.CONTRIBS, # type: ignore[arg-type]
59
59
  contrib_migrations_directory_name=settings.CONTRIB_MIGRATIONS_DIRECTORY_NAME,
60
60
  )
61
61
 
@@ -132,7 +132,7 @@ async def _async_sync_apply(
132
132
  core_migrations_path=CORE_MIGRATIONS_PATH,
133
133
  app_migrations_loader=app_migrations_loader,
134
134
  executor=DefaultAsyncMigrationExecutor(schemas),
135
- contrib=settings.CONTRIBS,
135
+ contrib=settings.CONTRIBS, # type: ignore[arg-type]
136
136
  contrib_migrations_directory_name=settings.CONTRIB_MIGRATIONS_DIRECTORY_NAME,
137
137
  )
138
138
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_cli
3
- Version: 0.5.7
3
+ Version: 0.5.8
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/
@@ -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=6iW8h6OIk_sNDiVyp7NxCzL_PEkI5J0OHZQ6VEA84jQ,124
2
+ amsdal_cli/__about__.py,sha256=JGF3XlJObn428GEyZLeDPPWqGJueIxTc_Bg3msQ3gts,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
@@ -30,7 +30,7 @@ amsdal_cli/commands/build/schemas/extenders/__init__.py,sha256=47DEQpj8HBSa-_TIm
30
30
  amsdal_cli/commands/build/schemas/extenders/custom_code_extender.py,sha256=wE3jvJkaanPWFiafLWDiIry70WMLxeF6_GEppT1jgvw,1586
31
31
  amsdal_cli/commands/build/schemas/extenders/options_extender.py,sha256=WInuTtkOwPXA9tPvRy4pWFaNFziDdX24U7WGjvIeR94,2007
32
32
  amsdal_cli/commands/build/schemas/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- amsdal_cli/commands/build/schemas/loaders/base.py,sha256=-naxukn7WM218i9u92JeESEMCVMcuBpM0KW8S06-8mY,2565
33
+ amsdal_cli/commands/build/schemas/loaders/base.py,sha256=Jk5PRTTv4wNz5WeX6SVrjVYliaoVFOP9vVyUYaZ3W9k,2939
34
34
  amsdal_cli/commands/build/schemas/loaders/cli_custom_code_loader.py,sha256=gbcS0JdfeS6XNWA-Q6O4MCqmV2V1RkQWLWpCtShUFFo,4611
35
35
  amsdal_cli/commands/build/schemas/loaders/cli_loader.py,sha256=LpqmrR5iVpHqur-bHAHi-E2EyhlLK0RD0xgn_Pu9Kks,2259
36
36
  amsdal_cli/commands/build/schemas/loaders/cli_options_loader.py,sha256=RusYssXNPY_FDO942PqZ2Y7OPiEMvMLq9N9C8311fdE,2822
@@ -42,8 +42,8 @@ amsdal_cli/commands/build/schemas/mixins/enrich_schemas_mixin.py,sha256=4TvvIuev
42
42
  amsdal_cli/commands/build/schemas/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  amsdal_cli/commands/build/schemas/utils/merger.py,sha256=8dlSV3qgGAGNbOtGGx8zQ7yC99dihxg8JwPHMDboU2w,2229
44
44
  amsdal_cli/commands/build/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- amsdal_cli/commands/build/services/builder.py,sha256=7g4PoF2zmy9I-XxmSyP2Ved54SHScePtbojNR0I4BK4,3168
46
- amsdal_cli/commands/build/services/mixin.py,sha256=8MHkasdQ1nPpBY90S4KHpr1rTHLC9Om2v89golcWE38,5749
45
+ amsdal_cli/commands/build/services/builder.py,sha256=MR3wQ0CEv7FOQDQboTtUHUHJ1pqt7kjdNKfJ8BN9mp0,3402
46
+ amsdal_cli/commands/build/services/mixin.py,sha256=1hC2nYEgoTIrxJaC1oa4srIARCCWwbAkpGnAdvOBbOY,6565
47
47
  amsdal_cli/commands/build/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
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
@@ -112,7 +112,8 @@ amsdal_cli/commands/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
112
112
  amsdal_cli/commands/generate/app.py,sha256=-wEccTR0MhZyj3Y1R2VMyO9RzyGiBSrdWNPQc4ACHqc,201
113
113
  amsdal_cli/commands/generate/command.py,sha256=j6CGiZ_7st-A6qpMTA8XYl15UeONopauQALObVWB2xc,197
114
114
  amsdal_cli/commands/generate/enums.py,sha256=SQ_ZFW6F9RbvM__Ohz5r3Ld54MlKoxid83kqiVqaZwY,3696
115
- amsdal_cli/commands/generate/sub_commands/__init__.py,sha256=WyZ4kE6IH9O_igOVJ31UQtqE12cCKyATi4E-qgslN3k,941
115
+ amsdal_cli/commands/generate/sub_commands/__init__.py,sha256=afAyY3hWNb6a4e3lapQX-GsR1SB6EHZi9hwtsWzrPKY,1077
116
+ amsdal_cli/commands/generate/sub_commands/generate_external_models.py,sha256=QH54RuiRyzFzmiEQsw7mbLk1d_vSbLAPqp4F-oJGwD8,11515
116
117
  amsdal_cli/commands/generate/sub_commands/generate_frontend_config.py,sha256=SkEzx7-mWgrPINwPXGRmYO1SVA0RZojOd6BZFQRmG0Q,2574
117
118
  amsdal_cli/commands/generate/sub_commands/generate_hook.py,sha256=C0Oy5VokM3BXPq33Kknjvtjwd7hdfSxQFKxJcHu_bgg,1738
118
119
  amsdal_cli/commands/generate/sub_commands/generate_model.py,sha256=yjZEfadjDf2zRkXh9z5RWYqnO9vFVu8tzVQzxWZPWY4,5885
@@ -147,7 +148,7 @@ amsdal_cli/commands/migrations/command.py,sha256=jlpdYZAc02ZUBxSdzGSzkDxEb1nlHNz
147
148
  amsdal_cli/commands/migrations/constants.py,sha256=846-DQ-Iqcxw2akd5aBAmbnXHDmRFqEKu6vai2ZFBkU,35
148
149
  amsdal_cli/commands/migrations/utils.py,sha256=Fvu6NlIFL3OAz0MhLkvnucIsHBZlDDCOZZ38VhNahws,2700
149
150
  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/apply.py,sha256=n4-BzBlAjjmt69iD0QQjMyy_A_4YxeIgU7y_P7eBr5k,8748
151
152
  amsdal_cli/commands/migrations/sub_commands/list.py,sha256=vC-oeTVHjYNzI_HhiylZSNeOsIFvnDZ6TRwrqQ-wpUk,5833
152
153
  amsdal_cli/commands/migrations/sub_commands/make.py,sha256=Qh3_4djVgdT67oRZ46AF2dqSyUDEiipOOkW5_-n4DOY,6429
153
154
  amsdal_cli/commands/migrations/sub_commands/make_contrib.py,sha256=JdlD8hGjNMrbWFIqSw5eXRSxUd1hW6D2UcxWR6-6uTg,6337
@@ -223,8 +224,8 @@ amsdal_cli/utils/vcs/base.py,sha256=jC05ExJZDnyHAsW7_4IDf8gQcYgK4dXq3zNlFIX66T4,
223
224
  amsdal_cli/utils/vcs/dummy.py,sha256=Lk8MT-b0YlHHUsiXsq5cvmPwcl4jTYdo8piN5_C8ORA,434
224
225
  amsdal_cli/utils/vcs/enums.py,sha256=tYR9LN1IOr8BZFbSeX_vDlhn8fPl4IU-Yakii8lRDYs,69
225
226
  amsdal_cli/utils/vcs/git.py,sha256=xHynbZcV6p2D3RFCwu1MGGpV9D7eK-pGUtO8kVexTQM,1269
226
- amsdal_cli-0.5.7.dist-info/METADATA,sha256=xT_KeYNRJy5TYkcikn5rrkiklhNpBqgtX-RccqdtT7I,57105
227
- amsdal_cli-0.5.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
228
- amsdal_cli-0.5.7.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
229
- amsdal_cli-0.5.7.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
230
- amsdal_cli-0.5.7.dist-info/RECORD,,
227
+ amsdal_cli-0.5.8.dist-info/METADATA,sha256=z4h-NRFwmwAl9Qef3vSadlk0_s2-CU5MgOsdg_tsnAc,57105
228
+ amsdal_cli-0.5.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
229
+ amsdal_cli-0.5.8.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
230
+ amsdal_cli-0.5.8.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
231
+ amsdal_cli-0.5.8.dist-info/RECORD,,