amsdal 0.1.27__cp310-cp310-macosx_10_9_universal2.whl → 0.2.0__cp310-cp310-macosx_10_9_universal2.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 amsdal might be problematic. Click here for more details.
- amsdal/__about__.py +1 -1
- amsdal/cloud/__init__.cpython-310-darwin.so +0 -0
- amsdal/cloud/client.cpython-310-darwin.so +0 -0
- amsdal/cloud/constants.cpython-310-darwin.so +0 -0
- amsdal/cloud/enums.cpython-310-darwin.so +0 -0
- amsdal/cloud/models/__init__.cpython-310-darwin.so +0 -0
- amsdal/cloud/models/base.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/__init__.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/__init__.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/add_allowlist_ip.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/add_basic_auth.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/add_dependency.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/add_secret.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/base.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/create_deploy.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/create_env.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/create_session.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_allowlist_ip.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_basic_auth.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_dependency.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_env.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_secret.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/destroy_deploy.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/expose_db.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/get_basic_auth_credentials.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/get_monitoring_info.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/list_dependencies.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/list_deploys.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/list_envs.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/list_secrets.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/manager.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/signup_action.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/actions/update_deploy.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/__init__.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/base.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/credentials.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/manager.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/signup_service.cpython-310-darwin.so +0 -0
- amsdal/cloud/services/auth/token.cpython-310-darwin.so +0 -0
- amsdal/contrib/__init__.cpython-310-darwin.so +0 -0
- amsdal/contrib/frontend_configs/lifecycle/consumer.py +3 -3
- amsdal/contrib/frontend_configs/lifecycle/consumer.pyi +1 -1
- amsdal/fixtures/__init__.cpython-310-darwin.so +0 -0
- amsdal/fixtures/manager.cpython-310-darwin.so +0 -0
- amsdal/fixtures/manager.pyi +2 -2
- amsdal/manager.cpython-310-darwin.so +0 -0
- amsdal/manager.pyi +6 -14
- amsdal/migration/__init__.cpython-310-darwin.so +0 -0
- amsdal/migration/base_migration_schemas.cpython-310-darwin.so +0 -0
- amsdal/migration/base_migration_schemas.pyi +4 -4
- amsdal/migration/data_classes.cpython-310-darwin.so +0 -0
- amsdal/migration/data_classes.pyi +9 -3
- amsdal/migration/executors/__init__.cpython-310-darwin.so +0 -0
- amsdal/migration/executors/base.cpython-310-darwin.so +0 -0
- amsdal/migration/executors/base.pyi +1 -1
- amsdal/migration/executors/default_executor.cpython-310-darwin.so +0 -0
- amsdal/migration/executors/default_executor.pyi +7 -5
- amsdal/migration/executors/state_executor.cpython-310-darwin.so +0 -0
- amsdal/migration/executors/state_executor.pyi +1 -1
- amsdal/migration/file_migration_executor.cpython-310-darwin.so +0 -0
- amsdal/migration/file_migration_generator.cpython-310-darwin.so +0 -0
- amsdal/migration/file_migration_generator.pyi +3 -3
- amsdal/migration/file_migration_store.cpython-310-darwin.so +0 -0
- amsdal/migration/file_migration_store.pyi +3 -5
- amsdal/migration/file_migration_writer.cpython-310-darwin.so +0 -0
- amsdal/migration/migrations.cpython-310-darwin.so +0 -0
- amsdal/migration/migrations_loader.cpython-310-darwin.so +0 -0
- amsdal/migration/schemas_loaders.cpython-310-darwin.so +0 -0
- amsdal/migration/schemas_loaders.pyi +1 -1
- amsdal/migration/utils.cpython-310-darwin.so +0 -0
- amsdal/migration/utils.pyi +2 -2
- amsdal/mixins/__init__.cpython-310-darwin.so +0 -0
- amsdal/mixins/build_mixin.cpython-310-darwin.so +0 -0
- amsdal/mixins/class_versions_mixin.cpython-310-darwin.so +0 -0
- amsdal/mixins/class_versions_mixin.pyi +1 -23
- amsdal/schemas/manager.cpython-310-darwin.so +0 -0
- amsdal/schemas/manager.py +2 -2
- amsdal/schemas/manager.pyi +1 -1
- amsdal/services/__init__.cpython-310-darwin.so +0 -0
- amsdal/services/transaction_execution.cpython-310-darwin.so +0 -0
- amsdal/utils/tests/helpers.py +5 -7
- {amsdal-0.1.27.dist-info → amsdal-0.2.0.dist-info}/METADATA +4 -6
- {amsdal-0.1.27.dist-info → amsdal-0.2.0.dist-info}/RECORD +86 -90
- amsdal/operations/__init__.cpython-310-darwin.so +0 -0
- amsdal/operations/__init__.pyi +0 -0
- amsdal/operations/manager.cpython-310-darwin.so +0 -0
- amsdal/operations/manager.pyi +0 -52
- {amsdal-0.1.27.dist-info → amsdal-0.2.0.dist-info}/LICENSE.txt +0 -0
- {amsdal-0.1.27.dist-info → amsdal-0.2.0.dist-info}/WHEEL +0 -0
- {amsdal-0.1.27.dist-info → amsdal-0.2.0.dist-info}/top_level.txt +0 -0
amsdal/__about__.py
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,11 +3,11 @@ import logging
|
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
5
|
from amsdal_models.classes.errors import AmsdalClassNotFoundError
|
|
6
|
-
from amsdal_models.schemas.data_models.core import LegacyDictSchema
|
|
7
|
-
from amsdal_models.schemas.data_models.schema import PropertyData
|
|
8
|
-
from amsdal_models.schemas.enums import CoreTypes
|
|
9
6
|
from amsdal_utils.lifecycle.consumer import LifecycleConsumer
|
|
10
7
|
from amsdal_utils.models.data_models.address import Address
|
|
8
|
+
from amsdal_utils.models.data_models.core import LegacyDictSchema
|
|
9
|
+
from amsdal_utils.models.data_models.enums import CoreTypes
|
|
10
|
+
from amsdal_utils.models.data_models.schema import PropertyData
|
|
11
11
|
from amsdal_utils.models.enums import SchemaTypes
|
|
12
12
|
from amsdal_utils.models.enums import Versions
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from amsdal_models.schemas.data_models.schema import PropertyData
|
|
3
2
|
from amsdal_utils.lifecycle.consumer import LifecycleConsumer
|
|
3
|
+
from amsdal_utils.models.data_models.schema import PropertyData
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
6
|
logger: Incomplete
|
|
Binary file
|
|
Binary file
|
amsdal/fixtures/manager.pyi
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from amsdal.schemas.manager import SchemaManager as SchemaManager
|
|
3
3
|
from amsdal_models.classes.manager import ClassManager
|
|
4
|
-
from amsdal_models.schemas.data_models.core import DictSchema, TypeData
|
|
5
|
-
from amsdal_models.schemas.data_models.schema import PropertyData
|
|
6
4
|
from amsdal_utils.config.manager import AmsdalConfigManager as AmsdalConfigManager
|
|
5
|
+
from amsdal_utils.models.data_models.core import DictSchema, TypeData as TypeData
|
|
6
|
+
from amsdal_utils.models.data_models.schema import PropertyData as PropertyData
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
from pydantic import BaseModel
|
|
9
9
|
from typing import Any
|
|
Binary file
|
amsdal/manager.pyi
CHANGED
|
@@ -7,7 +7,6 @@ from amsdal.errors import AmsdalAuthenticationError as AmsdalAuthenticationError
|
|
|
7
7
|
from amsdal.fixtures.manager import FixturesManager as FixturesManager
|
|
8
8
|
from amsdal.mixins.build_mixin import BuildMixin as BuildMixin
|
|
9
9
|
from amsdal.mixins.class_versions_mixin import ClassVersionsMixin as ClassVersionsMixin
|
|
10
|
-
from amsdal.operations.manager import OperationsManager as OperationsManager
|
|
11
10
|
from amsdal.schemas.manager import SchemaManager as SchemaManager
|
|
12
11
|
from amsdal_models.classes.manager import ClassManager
|
|
13
12
|
from amsdal_utils.config.data_models.amsdal_config import AmsdalConfig as AmsdalConfig
|
|
@@ -24,9 +23,8 @@ class AmsdalManager(BuildMixin, ClassVersionsMixin, metaclass=Singleton):
|
|
|
24
23
|
"""
|
|
25
24
|
_class_manager: ClassManager
|
|
26
25
|
_config_manager: Incomplete
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
_table_schemas_manager: Incomplete
|
|
26
|
+
_config: Incomplete
|
|
27
|
+
_data_application: Incomplete
|
|
30
28
|
_is_setup: bool
|
|
31
29
|
__is_authenticated: bool
|
|
32
30
|
_schema_manager: Incomplete
|
|
@@ -76,6 +74,10 @@ class AmsdalManager(BuildMixin, ClassVersionsMixin, metaclass=Singleton):
|
|
|
76
74
|
Returns:
|
|
77
75
|
None
|
|
78
76
|
"""
|
|
77
|
+
def post_setup(self) -> None:
|
|
78
|
+
"""
|
|
79
|
+
Registers internal classes and prepares connections (creates internal tables).
|
|
80
|
+
"""
|
|
79
81
|
def build(self, source_models_path: Path, source_transactions_path: Path, source_static_files_path: Path, source_fixtures_path: Path, source_migrations_path: Path) -> None:
|
|
80
82
|
"""
|
|
81
83
|
Builds the necessary components for the Amsdal framework.
|
|
@@ -105,16 +107,6 @@ class AmsdalManager(BuildMixin, ClassVersionsMixin, metaclass=Singleton):
|
|
|
105
107
|
and `ClassVersionsMixin`. It is intended to be used in the Amsdal framework for managing
|
|
106
108
|
and building components.
|
|
107
109
|
"""
|
|
108
|
-
def post_setup(self) -> None:
|
|
109
|
-
"""
|
|
110
|
-
Registers internal classes and prepares connections (creates internal tables).
|
|
111
|
-
|
|
112
|
-
This method registers the internal classes required by the AMSDAL framework and
|
|
113
|
-
prepares the connections by creating the necessary internal tables.
|
|
114
|
-
|
|
115
|
-
Returns:
|
|
116
|
-
None
|
|
117
|
-
"""
|
|
118
110
|
def migrate(self) -> None:
|
|
119
111
|
"""
|
|
120
112
|
DEPRECATED: Check changes in the models and apply them to the database.
|
|
Binary file
|
|
Binary file
|
|
@@ -3,8 +3,8 @@ from _typeshed import Incomplete
|
|
|
3
3
|
from abc import ABC, abstractmethod
|
|
4
4
|
from amsdal.configs.constants import BASE_DIR as BASE_DIR
|
|
5
5
|
from amsdal_models.classes.model import Model
|
|
6
|
-
from
|
|
7
|
-
from
|
|
6
|
+
from amsdal_utils.models.data_models.core import DictSchema, LegacyDictSchema, TypeData as TypeData
|
|
7
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema, PropertyData as PropertyData
|
|
8
8
|
from amsdal_utils.models.enums import SchemaTypes as SchemaTypes, Versions
|
|
9
9
|
from pathlib import Path
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ class BaseMigrationSchemas(ABC, metaclass=abc.ABCMeta):
|
|
|
31
31
|
type[Model]: The model type associated with the given class name.
|
|
32
32
|
"""
|
|
33
33
|
@abstractmethod
|
|
34
|
-
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes) -> None: ...
|
|
34
|
+
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes, class_version: str | Versions = ...) -> None: ...
|
|
35
35
|
@abstractmethod
|
|
36
36
|
def unregister_model(self, class_name: str) -> None: ...
|
|
37
37
|
@abstractmethod
|
|
@@ -68,7 +68,7 @@ class DefaultMigrationSchemas(BaseMigrationSchemas):
|
|
|
68
68
|
model_class_template: Path
|
|
69
69
|
dict_validator_template: Path
|
|
70
70
|
options_validator_template: Path
|
|
71
|
-
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes) -> None:
|
|
71
|
+
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes, class_version: str | Versions = ...) -> None:
|
|
72
72
|
"""
|
|
73
73
|
Registers a model class for migration.
|
|
74
74
|
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from amsdal_models.classes.model import Model
|
|
2
|
-
from amsdal_models.schemas.data_models.schema import ObjectSchema, PropertyData
|
|
3
2
|
from amsdal_utils.models.data_models.address import Address as Address
|
|
3
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema, PropertyData as PropertyData
|
|
4
4
|
from amsdal_utils.models.enums import SchemaTypes as SchemaTypes
|
|
5
5
|
from dataclasses import dataclass
|
|
6
6
|
from enum import Enum
|
|
@@ -15,8 +15,8 @@ class Action(str, Enum):
|
|
|
15
15
|
UPDATED (str): Represents an updated action.
|
|
16
16
|
NO_ACTION (str): Represents no action.
|
|
17
17
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
CREATE = 'CREATE'
|
|
19
|
+
UPDATE = 'UPDATE'
|
|
20
20
|
NO_ACTION = 'NO_ACTION'
|
|
21
21
|
|
|
22
22
|
@dataclass
|
|
@@ -32,6 +32,12 @@ class ClassSaveResult:
|
|
|
32
32
|
instance: Model
|
|
33
33
|
def __init__(self, action, instance) -> None: ...
|
|
34
34
|
|
|
35
|
+
@dataclass
|
|
36
|
+
class CheckClassResult:
|
|
37
|
+
action: Action
|
|
38
|
+
instance: Model | None = ...
|
|
39
|
+
def __init__(self, action, instance=...) -> None: ...
|
|
40
|
+
|
|
35
41
|
@dataclass
|
|
36
42
|
class ClassUpdateResult:
|
|
37
43
|
"""
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,7 @@ import abc
|
|
|
2
2
|
from _typeshed import Incomplete
|
|
3
3
|
from abc import ABC, abstractmethod
|
|
4
4
|
from amsdal.migration.base_migration_schemas import BaseMigrationSchemas as BaseMigrationSchemas
|
|
5
|
-
from
|
|
5
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema
|
|
6
6
|
from amsdal_utils.models.enums import SchemaTypes as SchemaTypes
|
|
7
7
|
from pydantic import BaseModel
|
|
8
8
|
|
|
Binary file
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from amsdal.migration.base_migration_schemas import BaseMigrationSchemas as BaseMigrationSchemas
|
|
3
|
-
from amsdal.migration.data_classes import Action as Action,
|
|
3
|
+
from amsdal.migration.data_classes import Action as Action, CheckClassResult as CheckClassResult
|
|
4
4
|
from amsdal.migration.executors.base import BaseMigrationExecutor as BaseMigrationExecutor
|
|
5
|
-
from amsdal.migration.utils import object_schema_to_table_schema as object_schema_to_table_schema
|
|
6
5
|
from amsdal_models.classes.model import Model
|
|
7
|
-
from
|
|
6
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema
|
|
8
7
|
from amsdal_utils.models.enums import SchemaTypes, Versions
|
|
9
8
|
from typing import Any
|
|
10
9
|
|
|
@@ -76,8 +75,11 @@ class DefaultMigrationExecutor(BaseMigrationExecutor):
|
|
|
76
75
|
Returns:
|
|
77
76
|
None
|
|
78
77
|
"""
|
|
79
|
-
|
|
80
|
-
def
|
|
78
|
+
@staticmethod
|
|
79
|
+
def _check_class(base_class: type[Model], object_schema: ObjectSchema) -> CheckClassResult: ...
|
|
80
|
+
def _save_class(self, base_class: type[Model], object_schema: ObjectSchema, class_object: Model | None, schema_type: SchemaTypes) -> None: ...
|
|
81
|
+
def _save_object_class_meta(self, base_class: type[Model], object_schema: ObjectSchema, schema_type: SchemaTypes) -> None: ...
|
|
82
|
+
def _create_table(self, object_schema: ObjectSchema, class_version: str | Versions, using: str | None = None) -> None: ...
|
|
81
83
|
def _migrate_historical_data(self, schemas: BaseMigrationSchemas, class_name: str, prior_version: str, new_version: str) -> None: ...
|
|
82
84
|
def _clean_data(self, model_class: type[Model], data: dict[str, Any]) -> dict[str, Any]: ...
|
|
83
85
|
def _process_object_schema(self, object_schema: ObjectSchema, class_name: str, buffer: list[tuple[str, ObjectSchema, SchemaTypes]]) -> ObjectSchema: ...
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from amsdal.migration.base_migration_schemas import BaseMigrationSchemas as BaseMigrationSchemas
|
|
3
3
|
from amsdal.migration.executors.base import BaseMigrationExecutor as BaseMigrationExecutor
|
|
4
|
-
from
|
|
4
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema
|
|
5
5
|
from amsdal_utils.models.enums import SchemaTypes
|
|
6
6
|
|
|
7
7
|
class StateMigrationExecutor(BaseMigrationExecutor):
|
|
Binary file
|
|
Binary file
|
|
@@ -8,8 +8,8 @@ from amsdal.migration.file_migration_store import BaseMigrationStore as BaseMigr
|
|
|
8
8
|
from amsdal.migration.file_migration_writer import FileMigrationWriter as FileMigrationWriter
|
|
9
9
|
from amsdal.migration.migrations_loader import MigrationsLoader as MigrationsLoader
|
|
10
10
|
from amsdal.migration.schemas_loaders import BaseClassSchemaLoader as BaseClassSchemaLoader
|
|
11
|
-
from
|
|
12
|
-
from amsdal_utils.models.enums import SchemaTypes
|
|
11
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema
|
|
12
|
+
from amsdal_utils.models.enums import SchemaTypes, Versions
|
|
13
13
|
from collections.abc import Callable as Callable
|
|
14
14
|
from pathlib import Path
|
|
15
15
|
from typing import ClassVar
|
|
@@ -29,7 +29,7 @@ class StateMigrationSchemas(BaseMigrationSchemas):
|
|
|
29
29
|
"""
|
|
30
30
|
state: Incomplete
|
|
31
31
|
def __init__(self) -> None: ...
|
|
32
|
-
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes) -> None:
|
|
32
|
+
def register_model(self, class_name: str, object_schema: ObjectSchema, schema_type: SchemaTypes, class_version: str | Versions = ...) -> None:
|
|
33
33
|
"""
|
|
34
34
|
Registers a model with the given class name, object schema, and schema type.
|
|
35
35
|
|
|
Binary file
|
|
@@ -4,9 +4,8 @@ from abc import ABC, abstractmethod
|
|
|
4
4
|
from amsdal.configs.main import settings as settings
|
|
5
5
|
from amsdal.migration.data_classes import MigrationFile as MigrationFile, ModuleTypes as ModuleTypes
|
|
6
6
|
from amsdal.migration.utils import contrib_to_module_root_path as contrib_to_module_root_path, map_module_type_to_schema_type as map_module_type_to_schema_type
|
|
7
|
-
from amsdal_utils.config.data_models.amsdal_config import AmsdalConfig as AmsdalConfig
|
|
8
7
|
from amsdal_utils.models.data_models.address import Address
|
|
9
|
-
from typing import Any
|
|
8
|
+
from typing import Any, ClassVar
|
|
10
9
|
|
|
11
10
|
class BaseMigrationStore(ABC, metaclass=abc.ABCMeta):
|
|
12
11
|
@abstractmethod
|
|
@@ -23,10 +22,9 @@ class FileMigrationStore(BaseMigrationStore):
|
|
|
23
22
|
Attributes:
|
|
24
23
|
migration_address (Address): The address associated with the migration.
|
|
25
24
|
"""
|
|
25
|
+
MIGRATION_TABLE: ClassVar[str]
|
|
26
26
|
migration_address: Address
|
|
27
|
-
|
|
28
|
-
_amsdal_config: Incomplete
|
|
29
|
-
_connections_manager: Incomplete
|
|
27
|
+
_operation_manager: Incomplete
|
|
30
28
|
def __init__(self) -> None: ...
|
|
31
29
|
def fetch_migrations(self) -> list[MigrationFile]:
|
|
32
30
|
"""
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,8 +4,8 @@ from abc import ABC, abstractmethod
|
|
|
4
4
|
from amsdal.configs.constants import CORE_SCHEMAS_PATH as CORE_SCHEMAS_PATH, TYPE_SCHEMAS_PATH as TYPE_SCHEMAS_PATH
|
|
5
5
|
from amsdal.configs.main import settings as settings
|
|
6
6
|
from amsdal.migration.data_classes import ClassSchema as ClassSchema, ModuleTypes as ModuleTypes
|
|
7
|
-
from amsdal_models.schemas.data_models.schema import ObjectSchema
|
|
8
7
|
from amsdal_models.schemas.mixins.enrich_schemas_mixin import EnrichSchemasMixin
|
|
8
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema
|
|
9
9
|
from collections.abc import Iterator
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
Binary file
|
amsdal/migration/utils.pyi
CHANGED
|
@@ -2,8 +2,8 @@ from _typeshed import Incomplete
|
|
|
2
2
|
from amsdal.migration.data_classes import ModuleTypes as ModuleTypes
|
|
3
3
|
from amsdal.schemas.manager import SchemaManager as SchemaManager
|
|
4
4
|
from amsdal_models.classes.model import Model
|
|
5
|
-
from
|
|
6
|
-
from
|
|
5
|
+
from amsdal_utils.models.data_models.core import DictSchema, LegacyDictSchema, TypeData as TypeData
|
|
6
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema, PropertyData as PropertyData
|
|
7
7
|
from amsdal_utils.models.data_models.table_schema import ArraySchemaModel, DictSchemaModel, JsonSchemaModel, NestedSchemaModel, TableColumnSchema, TableSchema
|
|
8
8
|
from amsdal_utils.models.enums import SchemaTypes
|
|
9
9
|
from pathlib import Path
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
from amsdal.migration.utils import object_schema_to_table_schema as object_schema_to_table_schema
|
|
2
|
-
from amsdal_models.classes.model import Model
|
|
3
|
-
|
|
4
1
|
class ClassVersionsMixin:
|
|
5
2
|
"""
|
|
6
3
|
Mixin class to manage class versions and related table schemas.
|
|
7
4
|
"""
|
|
8
|
-
@classmethod
|
|
9
|
-
def _create_table(cls, class_object: Model, *, skip_class_meta: bool = False) -> None: ...
|
|
10
|
-
@classmethod
|
|
11
|
-
def init_class_versions(cls, *, create_tables: bool = False) -> None:
|
|
12
|
-
"""
|
|
13
|
-
Initializes class versions and optionally creates tables.
|
|
14
|
-
|
|
15
|
-
Args:
|
|
16
|
-
create_tables (bool, optional): Whether to create tables. Defaults to False.
|
|
17
|
-
|
|
18
|
-
Returns:
|
|
19
|
-
None
|
|
20
|
-
"""
|
|
21
5
|
@staticmethod
|
|
22
|
-
def register_internal_classes() -> None:
|
|
23
|
-
"""
|
|
24
|
-
Registers internal classes with the class version manager.
|
|
25
|
-
|
|
26
|
-
Returns:
|
|
27
|
-
None
|
|
28
|
-
"""
|
|
6
|
+
def register_internal_classes() -> None: ...
|
|
Binary file
|
amsdal/schemas/manager.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from amsdal_models.enums import BaseClasses
|
|
2
|
-
from amsdal_models.schemas.data_models.schema import ObjectSchema
|
|
3
1
|
from amsdal_models.schemas.manager import SchemaManagerHandler
|
|
2
|
+
from amsdal_utils.models.data_models.enums import BaseClasses
|
|
3
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema
|
|
4
4
|
from amsdal_utils.models.enums import SchemaTypes
|
|
5
5
|
from amsdal_utils.utils.singleton import Singleton
|
|
6
6
|
|
amsdal/schemas/manager.pyi
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from amsdal.configs.main import settings as settings
|
|
3
|
-
from
|
|
3
|
+
from amsdal_utils.models.data_models.schema import ObjectSchema as ObjectSchema
|
|
4
4
|
from amsdal_utils.models.enums import SchemaTypes
|
|
5
5
|
from amsdal_utils.utils.singleton import Singleton
|
|
6
6
|
|
|
Binary file
|
|
Binary file
|
amsdal/utils/tests/helpers.py
CHANGED
|
@@ -35,24 +35,23 @@ TESTS_DIR = Path(os.getcwd())
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
def create_postgres_database(database: str) -> tuple[str, str, str, str]:
|
|
38
|
-
import
|
|
39
|
-
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
|
|
38
|
+
import psycopg
|
|
40
39
|
|
|
41
40
|
db_host = os.getenv('POSTGRES_HOST', 'localhost')
|
|
42
41
|
db_port = os.getenv('POSTGRES_PORT', '5432')
|
|
43
42
|
db_user = os.getenv('POSTGRES_USER', 'postgres')
|
|
44
43
|
db_password = os.getenv('POSTGRES_PASSWORD', 'example')
|
|
45
44
|
|
|
46
|
-
conn =
|
|
45
|
+
conn = psycopg.connect(
|
|
47
46
|
host=db_host,
|
|
48
47
|
port=db_port,
|
|
49
48
|
user=db_user,
|
|
50
49
|
password=db_password,
|
|
50
|
+
autocommit=True,
|
|
51
51
|
)
|
|
52
|
-
conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)
|
|
53
52
|
cur = conn.cursor()
|
|
54
53
|
|
|
55
|
-
with suppress(
|
|
54
|
+
with suppress(psycopg.errors.DuplicateDatabase):
|
|
56
55
|
cur.execute(f'CREATE DATABASE "{database}"')
|
|
57
56
|
|
|
58
57
|
cur.close()
|
|
@@ -210,7 +209,7 @@ def init_manager(
|
|
|
210
209
|
config_manager.load_config(config_path)
|
|
211
210
|
manager = AmsdalManager()
|
|
212
211
|
manager.setup()
|
|
213
|
-
manager.post_setup()
|
|
212
|
+
manager.post_setup() # type: ignore[call-arg]
|
|
214
213
|
|
|
215
214
|
try:
|
|
216
215
|
yield manager
|
|
@@ -306,6 +305,5 @@ def init_manager_and_migrate(
|
|
|
306
305
|
manager.authenticate()
|
|
307
306
|
migrate(app_schemas_path)
|
|
308
307
|
manager.init_classes()
|
|
309
|
-
manager.init_class_versions()
|
|
310
308
|
|
|
311
309
|
yield manager
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amsdal
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: AMSDAL
|
|
5
5
|
License: AMSDAL End User License Agreement
|
|
6
6
|
|
|
@@ -129,17 +129,15 @@ Requires-Dist: cryptography ~=42.0
|
|
|
129
129
|
Requires-Dist: httpx ~=0.25
|
|
130
130
|
Requires-Dist: bcrypt ~=4.0
|
|
131
131
|
Requires-Dist: black >=24.3.0
|
|
132
|
-
Requires-Dist: amsdal-utils ==0.
|
|
133
|
-
Requires-Dist: amsdal-data[postgres] ==0.
|
|
134
|
-
Requires-Dist: amsdal-models ==0.
|
|
132
|
+
Requires-Dist: amsdal-utils ==0.2.*
|
|
133
|
+
Requires-Dist: amsdal-data[postgres-binary] ==0.2.*
|
|
134
|
+
Requires-Dist: amsdal-models ==0.2.*
|
|
135
135
|
Provides-Extra: celery
|
|
136
136
|
Requires-Dist: celery ==5.4.0 ; extra == 'celery'
|
|
137
137
|
Provides-Extra: cli
|
|
138
138
|
Requires-Dist: amsdal-cli ==0.1.* ; extra == 'cli'
|
|
139
139
|
Provides-Extra: factory
|
|
140
140
|
Requires-Dist: polyfactory ==2.* ; extra == 'factory'
|
|
141
|
-
Provides-Extra: redis-lock
|
|
142
|
-
Requires-Dist: amsdal-data[redis-lock] ==0.1.* ; extra == 'redis-lock'
|
|
143
141
|
Provides-Extra: server
|
|
144
142
|
Requires-Dist: amsdal-server ==0.1.* ; extra == 'server'
|
|
145
143
|
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
amsdal
|
|
1
|
+
amsdal-0.2.0.dist-info/RECORD,,
|
|
2
|
+
amsdal-0.2.0.dist-info/WHEEL,sha256=ClVOi9g10rI0HLG8M8rsO0ZIZ1smbNYM10V9YDSXCJY,114
|
|
3
|
+
amsdal-0.2.0.dist-info/top_level.txt,sha256=VPQLnOP3mf7q0JuQ_vPZYQyPNGKd_uc6ouz-hZRkhSk,7
|
|
4
|
+
amsdal-0.2.0.dist-info/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
|
|
5
|
+
amsdal-0.2.0.dist-info/METADATA,sha256=Iwl1K4f0gWd_FDumSP4xm10xagtQ3SLzHbJEBqOBSSw,57320
|
|
6
|
+
amsdal/manager.pyi,sha256=CzdgDqKHiSWzsie2BiCXcLIU0nXE_xM-2XUjSlwCrRo,7656
|
|
2
7
|
amsdal/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
amsdal/manager.cpython-310-darwin.so,sha256=
|
|
8
|
+
amsdal/manager.cpython-310-darwin.so,sha256=Qbk_2Axu_v2YFcGYZuwwgJGZAI40wfvp5BIIly6HPRM,355296
|
|
4
9
|
amsdal/__init__.py,sha256=EQCJ5OevmkkIpIULumPNIbWk3UI7afDfRzIsZN5mfwg,73
|
|
5
10
|
amsdal/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=VcPLiGSghykwD290sS5A3hSNtPcz5hoBRgNaUTKdEnY,73573
|
|
6
|
-
amsdal/__about__.py,sha256=
|
|
11
|
+
amsdal/__about__.py,sha256=KFqkernjLe7hNDYncTsvtnOvle8rBt8BTHJjh4N0Pa8,124
|
|
7
12
|
amsdal/errors.pyi,sha256=mcuGsQMWaIUmC9GJDIkf99dQMMsCfBy6OI_UB3NSNmc,597
|
|
8
13
|
amsdal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
14
|
amsdal/errors.py,sha256=pZZKIklaDkh8jdFSAfX81TbiylvbaE70nttRjTcTSBk,616
|
|
@@ -12,12 +17,12 @@ amsdal/context/manager.pyi,sha256=9oqHjtub9qqPdIuD2y09IMmRbwSbRBk1T-dXGsWGmMI,14
|
|
|
12
17
|
amsdal/context/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
18
|
amsdal/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
19
|
amsdal/context/manager.py,sha256=CKGY75P2y-TCnZvK5p9NJsDgHo8KXHSE0Eg5AGRjnfk,1850
|
|
15
|
-
amsdal/mixins/class_versions_mixin.pyi,sha256=
|
|
20
|
+
amsdal/mixins/class_versions_mixin.pyi,sha256=y6efaYnsym2oSghAPEZ4oDiMLg5FnN7M9worsEODJOU,177
|
|
16
21
|
amsdal/mixins/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
amsdal/mixins/build_mixin.cpython-310-darwin.so,sha256=
|
|
22
|
+
amsdal/mixins/build_mixin.cpython-310-darwin.so,sha256=dSCdW4lAtQcymGPVamkNI7MX8GwwIAYL-UZ56Dq2fUg,337464
|
|
18
23
|
amsdal/mixins/build_mixin.pyi,sha256=gNub1Eu4CtnW6qbOLvkxP8mE-WhM2k8Ru4R4th5905s,2395
|
|
19
|
-
amsdal/mixins/__init__.cpython-310-darwin.so,sha256=
|
|
20
|
-
amsdal/mixins/class_versions_mixin.cpython-310-darwin.so,sha256=
|
|
24
|
+
amsdal/mixins/__init__.cpython-310-darwin.so,sha256=MmFAOCvtxgdJq9ZQ-Kc5CjBsK7jOlC-mP-eeNKEbQNU,120672
|
|
25
|
+
amsdal/mixins/class_versions_mixin.cpython-310-darwin.so,sha256=QpRiuTVHClu9WolDPxa0u0xP0T6XnKwR99c2pkNFVCU,162416
|
|
21
26
|
amsdal/utils/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
27
|
amsdal/utils/contrib_paths.py,sha256=9BpNegbPofuvaQ4bE4E5cO4IV415ZZJkTqSLHUruJ3k,787
|
|
23
28
|
amsdal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -25,9 +30,9 @@ amsdal/utils/contrib_paths.pyi,sha256=Ngb_2wCTCPJ9NSIqKiP254Ww9xrQzAV1-AiqUkVmiu
|
|
|
25
30
|
amsdal/utils/tests/enums.py,sha256=DoVtMzvfePjfLiAVctPDehdTTHawDbWrQP3yg46Bx6k,390
|
|
26
31
|
amsdal/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
32
|
amsdal/utils/tests/factories.py,sha256=SAnMjkDHg2dXgnDfxQGTvZX5MLuRmdskq7Cjbf6swVk,1926
|
|
28
|
-
amsdal/utils/tests/helpers.py,sha256=
|
|
33
|
+
amsdal/utils/tests/helpers.py,sha256=AV6TCF328SdfJpQugrCW5p-dDqCaxDABp_bS9hEhMrU,10717
|
|
29
34
|
amsdal/contrib/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
amsdal/contrib/__init__.cpython-310-darwin.so,sha256=
|
|
35
|
+
amsdal/contrib/__init__.cpython-310-darwin.so,sha256=HOzwINu7yq3ITOBZ9ybfOgdcAtfzHAiKik4F2zhmbec,120672
|
|
31
36
|
amsdal/contrib/app_config.pyi,sha256=j3MYfBcn9MzhTagEczGWfVH9N5jrfiKmUhxZMoakojw,149
|
|
32
37
|
amsdal/contrib/app_config.py,sha256=RT3RAEE49XtzuFTXYNVuaqU9V4YIl0ZWZijtXgV-SC4,131
|
|
33
38
|
amsdal/contrib/auth/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -66,8 +71,8 @@ amsdal/contrib/frontend_configs/app.py,sha256=fY4GukBM6GKSZExT0EgddTamLfUJHwQZS8
|
|
|
66
71
|
amsdal/contrib/frontend_configs/migrations/0000_initial.py,sha256=sx1aIIwciX9qRmU8znjuUVMIx6dEwVjvlyo1TKS1KM8,13513
|
|
67
72
|
amsdal/contrib/frontend_configs/lifecycle/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
73
|
amsdal/contrib/frontend_configs/lifecycle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
|
-
amsdal/contrib/frontend_configs/lifecycle/consumer.pyi,sha256=
|
|
70
|
-
amsdal/contrib/frontend_configs/lifecycle/consumer.py,sha256=
|
|
74
|
+
amsdal/contrib/frontend_configs/lifecycle/consumer.pyi,sha256=aSAazBgugl0ltSQSQ35CX71jwOCbTzLl5uWloVWwNOw,3698
|
|
75
|
+
amsdal/contrib/frontend_configs/lifecycle/consumer.py,sha256=GZMY9ipeaHCV4tft84Cf_rJtf5jmiG5NZ4xosnhUygI,9158
|
|
71
76
|
amsdal/contrib/frontend_configs/models/frontend_control_config/model.json,sha256=U_AB2OMdSbhsM7OksOexmettKlxoGcPfJedhMur2mMw,6791
|
|
72
77
|
amsdal/contrib/frontend_configs/models/frontend_config_skip_none_base/model.json,sha256=Mkk3rsx9UwG9EnUOnCxN-xMChEKjEJh4ql3HmBLH5FM,119
|
|
73
78
|
amsdal/contrib/frontend_configs/models/frontend_config_skip_none_base/properties/model_dump.py,sha256=009_69Jc2zKmJ4bQWbVG7HeT2QWvXc2g8D1jyZ6aoL0,426
|
|
@@ -86,15 +91,11 @@ amsdal/contrib/frontend_configs/conversion/__init__.pyi,sha256=Gbz6P3jhpqK6hLcGx
|
|
|
86
91
|
amsdal/contrib/frontend_configs/conversion/convert.py,sha256=4wkE8-oswApNbTzFTQ9azEwLGQqAToaHcHcDTTg2EFk,7604
|
|
87
92
|
amsdal/contrib/frontend_configs/conversion/convert.pyi,sha256=zl-M_yK9n3LvbOjs6GDpOfWBO10rsPrqA06zusICNew,979
|
|
88
93
|
amsdal/contrib/frontend_configs/conversion/__init__.py,sha256=4Kkv5xgGvqky3szx08bBfbbxrc6TeFDSnosGimSoNcI,139
|
|
89
|
-
amsdal/
|
|
90
|
-
amsdal/operations/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
|
-
amsdal/operations/manager.cpython-310-darwin.so,sha256=qVlc08Kv9A68mxJDBbbpe9p0uKIYkYLz8y6WuHHEu1E,405632
|
|
92
|
-
amsdal/operations/__init__.cpython-310-darwin.so,sha256=tuvtDsxaW6wIL4r_QnhGdnq1JTp6v17oelcbpcI6dwA,120688
|
|
93
|
-
amsdal/schemas/manager.pyi,sha256=2E8flU_4jrg_BpLgGuoZF9tOb5foTrceS8hE0i50v1k,2790
|
|
94
|
+
amsdal/schemas/manager.pyi,sha256=Trl6hVRoerdyTlKNYYk8QuhAsDWKj57gMgKRhMg4Ksk,2804
|
|
94
95
|
amsdal/schemas/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
95
|
-
amsdal/schemas/manager.cpython-310-darwin.so,sha256=
|
|
96
|
+
amsdal/schemas/manager.cpython-310-darwin.so,sha256=4V5sAgVcerZWiEI8S56vrcjI5Y0E3ukdArUqJcEQll8,232896
|
|
96
97
|
amsdal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
|
-
amsdal/schemas/manager.py,sha256=
|
|
98
|
+
amsdal/schemas/manager.py,sha256=PzJXc1xKs2_sS1SDfSJ0B_jftFfOqCDZrBywvRI7we4,4639
|
|
98
99
|
amsdal/schemas/types/array/model.json,sha256=I9Z7r691yd8i-Ndy8Cf3rFGg22mnLxg_weeVU2kRtkY,117
|
|
99
100
|
amsdal/schemas/types/datetime/model.json,sha256=DROVOPm0uQXy4qUj4mQUnhvfT_67psrQJj8psVRYjrA,120
|
|
100
101
|
amsdal/schemas/types/date/model.json,sha256=_siNphlfvq-bZ29Z3tloQlxh1_zRsEkXuO5HJsXmDSE,116
|
|
@@ -131,115 +132,115 @@ amsdal/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
131
132
|
amsdal/configs/main.pyi,sha256=mVr27fnB05XsRoFk_o0LMB4Ug-dNaPJlDHKdrUZPrLw,6881
|
|
132
133
|
amsdal/configs/main.py,sha256=GWunT_7daFf6t5Jre16zvOyQIRyA7LWjuz8BzTgVztw,9169
|
|
133
134
|
amsdal/cloud/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
-
amsdal/cloud/enums.cpython-310-darwin.so,sha256=
|
|
135
|
+
amsdal/cloud/enums.cpython-310-darwin.so,sha256=cVkAaUL97ANuKwIvtu4tlSC0v5QIFQnJdULXU2dwhSU,158000
|
|
135
136
|
amsdal/cloud/constants.pyi,sha256=0qWxDqjQkETwUtgco5kV83fPHhQ4jRdJe_YPPNTnSIY,327
|
|
136
137
|
amsdal/cloud/client.pyi,sha256=3VjPRtJrbUU29u_wswETrMorN0iUb4GFAXmMc73bUf4,2247
|
|
137
|
-
amsdal/cloud/client.cpython-310-darwin.so,sha256=
|
|
138
|
-
amsdal/cloud/__init__.cpython-310-darwin.so,sha256=
|
|
139
|
-
amsdal/cloud/constants.cpython-310-darwin.so,sha256=
|
|
138
|
+
amsdal/cloud/client.cpython-310-darwin.so,sha256=TTJUNKrh-4sWu5L9t9MPe7dFyOGXbNWz0Irvrm17PFs,215952
|
|
139
|
+
amsdal/cloud/__init__.cpython-310-darwin.so,sha256=A7ciRFS0eSwWozHSHWWeltFrLdEHkrjl3X-ARGSkZhU,120656
|
|
140
|
+
amsdal/cloud/constants.cpython-310-darwin.so,sha256=WglFdlKHmiiHzm8fzXsyOHKrR_41CwYLJym6HSHZVsw,158624
|
|
140
141
|
amsdal/cloud/enums.pyi,sha256=mX5O1FPc3aNnN108aOJT66Nn9KlcyrRTj9B23sFdDfw,1757
|
|
141
142
|
amsdal/cloud/models/base.pyi,sha256=avwAj4uS4NHrXvmSKBxokFKFWSaBPXtJPl1Ig1CD6sg,7727
|
|
142
143
|
amsdal/cloud/models/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
|
-
amsdal/cloud/models/base.cpython-310-darwin.so,sha256=
|
|
144
|
-
amsdal/cloud/models/__init__.cpython-310-darwin.so,sha256=
|
|
144
|
+
amsdal/cloud/models/base.cpython-310-darwin.so,sha256=1DwVpZ1q1AE7BZxrlAa-jttGYSuqymht_bUx34ea9n4,211584
|
|
145
|
+
amsdal/cloud/models/__init__.cpython-310-darwin.so,sha256=otIkb_HdhyCriLHgyW4d-HQo8mBEi1n8otWP088GmEQ,120688
|
|
145
146
|
amsdal/cloud/services/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
-
amsdal/cloud/services/__init__.cpython-310-darwin.so,sha256=
|
|
147
|
-
amsdal/cloud/services/auth/token.cpython-310-darwin.so,sha256=
|
|
147
|
+
amsdal/cloud/services/__init__.cpython-310-darwin.so,sha256=_dWhVIKRLm9g20JhjWhqvUGCiNYJUbTYDmRJRuav4Qs,120704
|
|
148
|
+
amsdal/cloud/services/auth/token.cpython-310-darwin.so,sha256=i9RLypt4dDL7u51IX_DjeoVv_JFlLmVLDnkT4bEXjyI,251008
|
|
148
149
|
amsdal/cloud/services/auth/base.pyi,sha256=oj_tgwWhf02g-FzCLcNOEZjYDxfcrrDssING4jsUMb8,167
|
|
149
150
|
amsdal/cloud/services/auth/manager.pyi,sha256=AhKllHgraztP3JSKta9MmQjTNRAbQbwqZg2EpQZSwhI,1243
|
|
150
151
|
amsdal/cloud/services/auth/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
|
-
amsdal/cloud/services/auth/manager.cpython-310-darwin.so,sha256=
|
|
152
|
+
amsdal/cloud/services/auth/manager.cpython-310-darwin.so,sha256=Bx0aQIW8MxYBia74SFYp7AJDaxnHdC3kW2kQ21IWtjQ,214080
|
|
152
153
|
amsdal/cloud/services/auth/signup_service.pyi,sha256=SfSN1tLIwrzGi9JbMgoLuKKH1u5uoh_MOFJ4n_NHcBY,1145
|
|
153
|
-
amsdal/cloud/services/auth/base.cpython-310-darwin.so,sha256=
|
|
154
|
-
amsdal/cloud/services/auth/__init__.cpython-310-darwin.so,sha256
|
|
154
|
+
amsdal/cloud/services/auth/base.cpython-310-darwin.so,sha256=uqAL3FplvLOGKYfuA-hmwsoi9w-nEYDa9G3JICTA8FY,163040
|
|
155
|
+
amsdal/cloud/services/auth/__init__.cpython-310-darwin.so,sha256=cDSQ3SlXuLht28lPOxO_Ec53BmjojbyWVhwk-L8fLD0,120720
|
|
155
156
|
amsdal/cloud/services/auth/token.pyi,sha256=-SCK3mrIYpQgQUBc4roijltOZfKzZl0EqI5yCIDNVCI,1108
|
|
156
|
-
amsdal/cloud/services/auth/credentials.cpython-310-darwin.so,sha256=
|
|
157
|
-
amsdal/cloud/services/auth/signup_service.cpython-310-darwin.so,sha256=
|
|
157
|
+
amsdal/cloud/services/auth/credentials.cpython-310-darwin.so,sha256=ux0G07v50dyOkAgykypGbPktpUAZnMuz_vNDu_yqR38,253128
|
|
158
|
+
amsdal/cloud/services/auth/signup_service.cpython-310-darwin.so,sha256=OdQ-FN8ioqAxLYlPgbeojCyYTrCTfQdKNWwUkEfd07Q,216152
|
|
158
159
|
amsdal/cloud/services/auth/credentials.pyi,sha256=94MbGuKwVw7T_JJjpsHBkXpjI0BedVY2KSrOjzSP97E,1483
|
|
159
|
-
amsdal/cloud/services/actions/list_deploys.cpython-310-darwin.so,sha256=
|
|
160
|
-
amsdal/cloud/services/actions/destroy_deploy.cpython-310-darwin.so,sha256=
|
|
161
|
-
amsdal/cloud/services/actions/list_envs.cpython-310-darwin.so,sha256=
|
|
160
|
+
amsdal/cloud/services/actions/list_deploys.cpython-310-darwin.so,sha256=qTkN_yiJ3fWJJkGzHKFRQgVUjHdGzY84iAUumMHE2_o,180984
|
|
161
|
+
amsdal/cloud/services/actions/destroy_deploy.cpython-310-darwin.so,sha256=4I8no_4QxHsqMeCPxF6qePv5144o8w2TffmZV8soPE4,180472
|
|
162
|
+
amsdal/cloud/services/actions/list_envs.cpython-310-darwin.so,sha256=iQ-uNxNrgEjV1D4YaO-W_8TanO_LwKdypm4S_qWaBZM,180688
|
|
162
163
|
amsdal/cloud/services/actions/list_envs.pyi,sha256=7PylFRd1Jb6nkTt8q8iy27rLj-Q5qcwfqW02_OlfDZs,878
|
|
163
|
-
amsdal/cloud/services/actions/list_dependencies.cpython-310-darwin.so,sha256=
|
|
164
|
+
amsdal/cloud/services/actions/list_dependencies.cpython-310-darwin.so,sha256=hkQlE2bennHy7lmVqFM249p844s3qN5LQiMzI42fvds,181240
|
|
164
165
|
amsdal/cloud/services/actions/base.pyi,sha256=J98igdu3E9-mled_kbxerja4DTLM0OAW8cHtsVOQ_fc,5880
|
|
165
166
|
amsdal/cloud/services/actions/manager.pyi,sha256=Tal5u1nMhi7MeuJ9lBIPYPLgKoIB6DUXPU2AokrusHI,15441
|
|
166
167
|
amsdal/cloud/services/actions/delete_allowlist_ip.pyi,sha256=W5zVq7YKL_OVigZl58bqau3rvAzsLdItAZaqDO1HGJw,933
|
|
167
|
-
amsdal/cloud/services/actions/create_deploy.cpython-310-darwin.so,sha256=
|
|
168
|
+
amsdal/cloud/services/actions/create_deploy.cpython-310-darwin.so,sha256=EkeJ7lHf1ueFUMwdBiiSGqubMYAgB8u0MT4J_8JP2AE,252600
|
|
168
169
|
amsdal/cloud/services/actions/add_basic_auth.pyi,sha256=4tyTci_k_xlJrkBd71sY0ivRr8alo3Bq0KCkjIfacu4,1106
|
|
169
|
-
amsdal/cloud/services/actions/create_session.cpython-310-darwin.so,sha256=
|
|
170
|
+
amsdal/cloud/services/actions/create_session.cpython-310-darwin.so,sha256=ASE34wmjpSj7RSgZRXQVmt8tRMU2OkS03ZBNUZpm5mo,180920
|
|
170
171
|
amsdal/cloud/services/actions/list_secrets.pyi,sha256=vF-EikAy7WHdkvkGikD_oDFDIgE1GEr8nxAQKYAs9rY,1079
|
|
171
172
|
amsdal/cloud/services/actions/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
172
|
-
amsdal/cloud/services/actions/manager.cpython-310-darwin.so,sha256=
|
|
173
|
+
amsdal/cloud/services/actions/manager.cpython-310-darwin.so,sha256=Wp9mwN_ezFU_rl9llXfiY_U-ikkfidSH7cH_WsE0Gok,371248
|
|
173
174
|
amsdal/cloud/services/actions/get_basic_auth_credentials.pyi,sha256=1FU8BtDRaGTx8fSqdhmotQK-rR7gKr4Qav_E-T_23rc,1071
|
|
174
|
-
amsdal/cloud/services/actions/base.cpython-310-darwin.so,sha256=
|
|
175
|
-
amsdal/cloud/services/actions/get_basic_auth_credentials.cpython-310-darwin.so,sha256=
|
|
176
|
-
amsdal/cloud/services/actions/add_allowlist_ip.cpython-310-darwin.so,sha256=
|
|
177
|
-
amsdal/cloud/services/actions/signup_action.cpython-310-darwin.so,sha256=
|
|
178
|
-
amsdal/cloud/services/actions/delete_basic_auth.cpython-310-darwin.so,sha256=
|
|
179
|
-
amsdal/cloud/services/actions/expose_db.cpython-310-darwin.so,sha256=
|
|
180
|
-
amsdal/cloud/services/actions/add_secret.cpython-310-darwin.so,sha256=
|
|
181
|
-
amsdal/cloud/services/actions/delete_dependency.cpython-310-darwin.so,sha256=
|
|
175
|
+
amsdal/cloud/services/actions/base.cpython-310-darwin.so,sha256=UQpLPdB9k4c7UD1RE8QjHjjJVTs8rc5k-uWiRmVJ6KY,323504
|
|
176
|
+
amsdal/cloud/services/actions/get_basic_auth_credentials.cpython-310-darwin.so,sha256=uCcFfEXD1iiiP_OL9sRcLoqZAVEu--QHu8AoanT_I9E,181016
|
|
177
|
+
amsdal/cloud/services/actions/add_allowlist_ip.cpython-310-darwin.so,sha256=86EtE78LDznhQh5XbHMLVo0C2U7j7gYLX_y9qPXomFk,180712
|
|
178
|
+
amsdal/cloud/services/actions/signup_action.cpython-310-darwin.so,sha256=qD4Y-UIamLuc_hnVnCLku2vzZfaeQbEM_JuHWkEoHso,180520
|
|
179
|
+
amsdal/cloud/services/actions/delete_basic_auth.cpython-310-darwin.so,sha256=L2IDcJIii-iJBsuqz9t1pukhJy4IlyshB_4XCq4Bp74,180680
|
|
180
|
+
amsdal/cloud/services/actions/expose_db.cpython-310-darwin.so,sha256=HQBawulzvQnLmg1lWyARv_3CKtBtBEtETC32vCjTdb8,181120
|
|
181
|
+
amsdal/cloud/services/actions/add_secret.cpython-310-darwin.so,sha256=QmLJrlPhDHLdu89XP6PTVX-8wN4aJsmRsxC_dC2jkMI,180584
|
|
182
|
+
amsdal/cloud/services/actions/delete_dependency.cpython-310-darwin.so,sha256=TTyns1i89y6aVCGLvm80lOym1fuYQ8-eCuRB92pYUdI,180696
|
|
182
183
|
amsdal/cloud/services/actions/delete_secret.pyi,sha256=gZi17MivNYBIfdPU2GjoJ2I2lWiefdvLuXTcxDss1P4,953
|
|
183
184
|
amsdal/cloud/services/actions/delete_env.pyi,sha256=uyBHMOp_AprbpSfv6y6QfYW5FvK1-8jb2NxK_FmuPHE,969
|
|
184
|
-
amsdal/cloud/services/actions/list_secrets.cpython-310-darwin.so,sha256=
|
|
185
|
+
amsdal/cloud/services/actions/list_secrets.cpython-310-darwin.so,sha256=aeb9n7vn7m7-tZvTnwr87qebkKvTB4UNNlMvbWFPC4E,181240
|
|
185
186
|
amsdal/cloud/services/actions/delete_dependency.pyi,sha256=VuT1w2qOpjR7I9mBi9tPXMXDPEeU8tG0vi9TXV82Frg,1021
|
|
186
|
-
amsdal/cloud/services/actions/delete_env.cpython-310-darwin.so,sha256=
|
|
187
|
-
amsdal/cloud/services/actions/__init__.cpython-310-darwin.so,sha256=
|
|
187
|
+
amsdal/cloud/services/actions/delete_env.cpython-310-darwin.so,sha256=43xUL9TxbksO6MrNeQ2BISsktQlbWQatzAEaK-NhP5M,180760
|
|
188
|
+
amsdal/cloud/services/actions/__init__.cpython-310-darwin.so,sha256=P6xGkcpeZEViNlU-IW8sMHF3mqDd4UBekPrZQuX-_zk,120736
|
|
188
189
|
amsdal/cloud/services/actions/create_session.pyi,sha256=KUvx_vkhLQfGp_DM1ZvgszyT_G8LB28KoI1XpjNR7YY,674
|
|
189
190
|
amsdal/cloud/services/actions/list_deploys.pyi,sha256=Q8da3PDPxICLP2V7L-A7p-9_a3qNKrARqgHhu0CA0nA,724
|
|
190
191
|
amsdal/cloud/services/actions/add_allowlist_ip.pyi,sha256=gB2NQVz8NcSsgXYiym2Suh1RPI8eHKIAFE13RmeTHkA,883
|
|
191
192
|
amsdal/cloud/services/actions/get_monitoring_info.pyi,sha256=uvtBgWvtWf-Mq4vZq_q-q8Z8hJh5voAY61KRJQPGWFk,1045
|
|
192
193
|
amsdal/cloud/services/actions/add_dependency.pyi,sha256=uVEIhvDa4GRS0Lg6TkcYdOwezKcxrzL7A_Lh8BxcAeU,837
|
|
193
194
|
amsdal/cloud/services/actions/signup_action.pyi,sha256=VswHjhxw2eHYqXwc---F2LpwlD7GlIuL_Ev2DmA96_4,808
|
|
194
|
-
amsdal/cloud/services/actions/delete_secret.cpython-310-darwin.so,sha256=
|
|
195
|
+
amsdal/cloud/services/actions/delete_secret.cpython-310-darwin.so,sha256=e9h361PZCPtagwbStWdBLatNyHz2aUa51rWHfQMObh8,180632
|
|
195
196
|
amsdal/cloud/services/actions/add_secret.pyi,sha256=H6rS3PRwiktMfnoY8qwtmTplN9gG2yZgQKKCX8S8Q6c,890
|
|
196
197
|
amsdal/cloud/services/actions/destroy_deploy.pyi,sha256=VNb0J71B3gk4SVJwxlB9XTj4vCG-37ucojcGzsvKwe8,609
|
|
197
198
|
amsdal/cloud/services/actions/update_deploy.pyi,sha256=alM1nquQZ5O8PYlDIqDdSuiyuc_aj9fkd01bL9KANEI,766
|
|
198
|
-
amsdal/cloud/services/actions/delete_allowlist_ip.cpython-310-darwin.so,sha256=
|
|
199
|
-
amsdal/cloud/services/actions/add_dependency.cpython-310-darwin.so,sha256=
|
|
199
|
+
amsdal/cloud/services/actions/delete_allowlist_ip.cpython-310-darwin.so,sha256=QQ2IvnDUzGVwOu-QMz1pM7SjmcIUA9HeibY0RDjDivw,180768
|
|
200
|
+
amsdal/cloud/services/actions/add_dependency.cpython-310-darwin.so,sha256=OetZER49HqRBk8C_AiLtUJSoUeGVd8h_xgfnYYD8znQ,180648
|
|
200
201
|
amsdal/cloud/services/actions/create_deploy.pyi,sha256=VmVMYJQmjPZce6Cm8sMQ27HomhfdzZc_0X57ZWZmCt0,1988
|
|
201
202
|
amsdal/cloud/services/actions/delete_basic_auth.pyi,sha256=-I1YoOMFi0LaRsZL2JBGH_sg18PZoUL1PP9YetboDJA,915
|
|
202
203
|
amsdal/cloud/services/actions/list_dependencies.pyi,sha256=C37VamSyRT-uNLuwQJ0OrHKavs8Jt0bfPbAsE5BQEvE,1035
|
|
203
|
-
amsdal/cloud/services/actions/add_basic_auth.cpython-310-darwin.so,sha256=
|
|
204
|
+
amsdal/cloud/services/actions/add_basic_auth.cpython-310-darwin.so,sha256=vVswFjxH5vIDz6s__R6mEOSBqlv9p4GqE01R_Ebi0fY,181048
|
|
204
205
|
amsdal/cloud/services/actions/create_env.pyi,sha256=ITvyLrvwt6H36JNYURHZ_PbmGZquc5Fm07dVo7H6ll0,910
|
|
205
|
-
amsdal/cloud/services/actions/get_monitoring_info.cpython-310-darwin.so,sha256=
|
|
206
|
-
amsdal/cloud/services/actions/update_deploy.cpython-310-darwin.so,sha256=
|
|
206
|
+
amsdal/cloud/services/actions/get_monitoring_info.cpython-310-darwin.so,sha256=yiRC4oCEXy5fYatoSff8pPjRtLISu_5D4HUgiFatAm8,180912
|
|
207
|
+
amsdal/cloud/services/actions/update_deploy.cpython-310-darwin.so,sha256=ox5oMS17eqXPTe525Dc6gn-RRRAWaZXPMQeFtqA5MMA,180984
|
|
207
208
|
amsdal/cloud/services/actions/expose_db.pyi,sha256=uk2zuz1SiXwjDFxtKF-yyWGNEONOgfm7EcrEyVT0cMM,1049
|
|
208
|
-
amsdal/cloud/services/actions/create_env.cpython-310-darwin.so,sha256=
|
|
209
|
-
amsdal/fixtures/manager.pyi,sha256=
|
|
209
|
+
amsdal/cloud/services/actions/create_env.cpython-310-darwin.so,sha256=ldWwxPWO3R0h2-gJbWwligDdry8cpD8CR1Y9FdqpruI,180760
|
|
210
|
+
amsdal/fixtures/manager.pyi,sha256=kL4HYcYnjIii4Va3Sb8WqCxpoXzLe25wCFnp2Uz0k0k,4948
|
|
210
211
|
amsdal/fixtures/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
211
|
-
amsdal/fixtures/manager.cpython-310-darwin.so,sha256=
|
|
212
|
-
amsdal/fixtures/__init__.cpython-310-darwin.so,sha256=
|
|
213
|
-
amsdal/migration/base_migration_schemas.cpython-310-darwin.so,sha256=
|
|
214
|
-
amsdal/migration/file_migration_store.pyi,sha256=
|
|
212
|
+
amsdal/fixtures/manager.cpython-310-darwin.so,sha256=uXG6DOAuYmJ_L-EoaeG3zfzAAp0JUYX9x8Qd_LyxeYU,409072
|
|
213
|
+
amsdal/fixtures/__init__.cpython-310-darwin.so,sha256=eGeSZ2xpxidkH_-6U3T9CrMMXB39l4US9ytKJmEzJtY,120672
|
|
214
|
+
amsdal/migration/base_migration_schemas.cpython-310-darwin.so,sha256=7vY9Hkdqq-ZEIkx1I_qohw8qDavvtR6MDi-k1I-NaYM,462464
|
|
215
|
+
amsdal/migration/file_migration_store.pyi,sha256=ijFmdl5bjrPE8cqyS0WeUy5ZN_v08lLCuXA23woVXgg,2257
|
|
215
216
|
amsdal/migration/file_migration_executor.pyi,sha256=pxhk5mxoXTkz8NX5gMMv_WC2sUdxpuMSXNjv9sNJCBk,3982
|
|
216
217
|
amsdal/migration/migrations_loader.pyi,sha256=i1TsBHT52piM-gAGJGjYplbZHJJtZvJ83b_-gYSN2xU,1129
|
|
217
218
|
amsdal/migration/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
218
219
|
amsdal/migration/file_migration_writer.pyi,sha256=yIWvdLciu6Dnr0ZwplvZdMKxN4rl8BazotFrOxfCLh0,2275
|
|
219
|
-
amsdal/migration/base_migration_schemas.pyi,sha256=
|
|
220
|
-
amsdal/migration/data_classes.pyi,sha256=
|
|
221
|
-
amsdal/migration/utils.pyi,sha256=
|
|
222
|
-
amsdal/migration/__init__.cpython-310-darwin.so,sha256=
|
|
223
|
-
amsdal/migration/migrations.cpython-310-darwin.so,sha256=
|
|
224
|
-
amsdal/migration/schemas_loaders.pyi,sha256=
|
|
225
|
-
amsdal/migration/data_classes.cpython-310-darwin.so,sha256=
|
|
226
|
-
amsdal/migration/file_migration_store.cpython-310-darwin.so,sha256=
|
|
227
|
-
amsdal/migration/migrations_loader.cpython-310-darwin.so,sha256=
|
|
228
|
-
amsdal/migration/file_migration_executor.cpython-310-darwin.so,sha256=
|
|
229
|
-
amsdal/migration/schemas_loaders.cpython-310-darwin.so,sha256=
|
|
230
|
-
amsdal/migration/file_migration_generator.cpython-310-darwin.so,sha256=
|
|
231
|
-
amsdal/migration/file_migration_generator.pyi,sha256=
|
|
232
|
-
amsdal/migration/utils.cpython-310-darwin.so,sha256=
|
|
233
|
-
amsdal/migration/file_migration_writer.cpython-310-darwin.so,sha256=
|
|
220
|
+
amsdal/migration/base_migration_schemas.pyi,sha256=l2bGckKVR7wkilFv9LueCr3nUq6g9IPOj-dDPUTrw34,5200
|
|
221
|
+
amsdal/migration/data_classes.pyi,sha256=fgeV5Fv0YyP5GcHaLLjPcPusqIckZLGI-E_QZ5NIeKI,5834
|
|
222
|
+
amsdal/migration/utils.pyi,sha256=AM1jSDzwuT_Tt1DdT3ZlDtud-prPc6ytlanw2vPkqvI,2435
|
|
223
|
+
amsdal/migration/__init__.cpython-310-darwin.so,sha256=79HCsR9qCZnOELT0CYE_9I0RmQbnLQrindCtZ-7aOK8,120688
|
|
224
|
+
amsdal/migration/migrations.cpython-310-darwin.so,sha256=HwX0cJZL3D4EGzJYwop7PqR6Twj0MCH2nz6F1biMQmE,267896
|
|
225
|
+
amsdal/migration/schemas_loaders.pyi,sha256=al7V-fO1z88go1eitWLWolxNSJNjTsZRLg0gYYvi2A8,1607
|
|
226
|
+
amsdal/migration/data_classes.cpython-310-darwin.so,sha256=wlIgyKB3rAxGPrFZinLpy4Swt2VNs0GtdXU32wnAd4Q,216936
|
|
227
|
+
amsdal/migration/file_migration_store.cpython-310-darwin.so,sha256=JwEeiCc9aYfBIhYnvCaB_jb-C_M2xB6IXJLxv_yu2Xo,407792
|
|
228
|
+
amsdal/migration/migrations_loader.cpython-310-darwin.so,sha256=2qGsZVhM881k-7FVaYYEmvAHYT4sNq8VvOz7OHSA1pI,217560
|
|
229
|
+
amsdal/migration/file_migration_executor.cpython-310-darwin.so,sha256=5m0f-TrOuuvPkEBk9kMNetwL96oJ-S_LoyFqRwg99zg,354752
|
|
230
|
+
amsdal/migration/schemas_loaders.cpython-310-darwin.so,sha256=goMaVWA5He05cdE1YPzmsp5RDhV7g2wi4EjEZV6OZ30,256760
|
|
231
|
+
amsdal/migration/file_migration_generator.cpython-310-darwin.so,sha256=oOz0-2W3ZymzNFlE8Y_USQfBajjTrJSw3iAz6mX5hXs,393984
|
|
232
|
+
amsdal/migration/file_migration_generator.pyi,sha256=KbQnN0ySKLNNOIqXrQ1ZGWwyPRtGYMiN-B0y8h0HEBs,5815
|
|
233
|
+
amsdal/migration/utils.cpython-310-darwin.so,sha256=a1W70_n7_mja6hDFxqIQI40tb5GtPTBKwQHAaop9uE8,303184
|
|
234
|
+
amsdal/migration/file_migration_writer.cpython-310-darwin.so,sha256=Fex_goLx1dJ0m_xewlkuYFQCMacRBZG0wyOh4JNVmkE,252336
|
|
234
235
|
amsdal/migration/migrations.pyi,sha256=lvQ29dMRu3EfaiyiSn9U1GhFlBE6l94Yh5AeJcWpcHw,6079
|
|
235
|
-
amsdal/migration/executors/base.pyi,sha256=
|
|
236
|
-
amsdal/migration/executors/state_executor.pyi,sha256
|
|
237
|
-
amsdal/migration/executors/default_executor.cpython-310-darwin.so,sha256=
|
|
236
|
+
amsdal/migration/executors/base.pyi,sha256=Uth5pOgA8de0DjPWOiPPJWtuo1Ph4QVL2133JRD1euE,4883
|
|
237
|
+
amsdal/migration/executors/state_executor.pyi,sha256=AHMe16WSVZUMMKyLaPpZbdRq_uzV09QtmJcBXYIXJ_w,3397
|
|
238
|
+
amsdal/migration/executors/default_executor.cpython-310-darwin.so,sha256=LhVjuC1r4E3Mf9Kuqt94v82qGxPqx_4bNy4CNXuhVUk,543560
|
|
238
239
|
amsdal/migration/executors/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
239
|
-
amsdal/migration/executors/base.cpython-310-darwin.so,sha256=
|
|
240
|
-
amsdal/migration/executors/__init__.cpython-310-darwin.so,sha256=
|
|
241
|
-
amsdal/migration/executors/default_executor.pyi,sha256=
|
|
242
|
-
amsdal/migration/executors/state_executor.cpython-310-darwin.so,sha256=
|
|
240
|
+
amsdal/migration/executors/base.cpython-310-darwin.so,sha256=QX3m59I2MS3ugKMRUqBZisT7znWHvvTO3la0M4_tYZw,303936
|
|
241
|
+
amsdal/migration/executors/__init__.cpython-310-darwin.so,sha256=u0CezHgFOV88lhR1y_V_pwpo5JsZT8NbJkSIVBW8A2o,120736
|
|
242
|
+
amsdal/migration/executors/default_executor.pyi,sha256=HabItIKp3-t0YGXQOqLMGFxn2o-5KaOvgE8ClbAa-n0,4880
|
|
243
|
+
amsdal/migration/executors/state_executor.cpython-310-darwin.so,sha256=b3DoJxpEgkM-5H6IT9g10GTtW8jcRHV6jKEPl__t9-U,250520
|
|
243
244
|
amsdal/migration/templates/model_class_layout.tmpl,sha256=ttbq0xgimvHn-ffM4ZSj2_DMH5srCmUtkwGd38pyDXY,766
|
|
244
245
|
amsdal/migration/templates/options_validator.tmpl,sha256=gF_uiYONVad4OEILZeIdrepcHOFhwPq3nu0NJX8I1EA,205
|
|
245
246
|
amsdal/migration/templates/model_class.tmpl,sha256=t0y_OlxVmJe5RRg8pxO0XyUM3q1sAuv458q8wmDvh-8,225
|
|
@@ -248,10 +249,5 @@ amsdal/migration/templates/migration.tmpl,sha256=WZe7A1lchoiqZZhGL2YUKVzafMPRiW9
|
|
|
248
249
|
amsdal/migration/templates/dict_validator.tmpl,sha256=5lRGN9hNBVRqVcbeNQuU4v5koRzS6tJAibzOqjCUXSI,173
|
|
249
250
|
amsdal/services/transaction_execution.pyi,sha256=xYxfnCO7oNy1tWRrHvBQp4k2uk33emwHHMt_uk4oi1A,3440
|
|
250
251
|
amsdal/services/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
251
|
-
amsdal/services/__init__.cpython-310-darwin.so,sha256=
|
|
252
|
-
amsdal/services/transaction_execution.cpython-310-darwin.so,sha256=
|
|
253
|
-
amsdal-0.1.27.dist-info/RECORD,,
|
|
254
|
-
amsdal-0.1.27.dist-info/WHEEL,sha256=ClVOi9g10rI0HLG8M8rsO0ZIZ1smbNYM10V9YDSXCJY,114
|
|
255
|
-
amsdal-0.1.27.dist-info/top_level.txt,sha256=VPQLnOP3mf7q0JuQ_vPZYQyPNGKd_uc6ouz-hZRkhSk,7
|
|
256
|
-
amsdal-0.1.27.dist-info/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
|
|
257
|
-
amsdal-0.1.27.dist-info/METADATA,sha256=HwOx48_WIPbrAPnbzRPfb2zaZ9_o8sF-6kvxIPeSPB0,57412
|
|
252
|
+
amsdal/services/__init__.cpython-310-darwin.so,sha256=80geM1X7GpRjOs9EqvpWIKrwMOEUwKpAzNOVrAJ1LhM,120672
|
|
253
|
+
amsdal/services/transaction_execution.cpython-310-darwin.so,sha256=qGScxyQ8XxxW3ikiQrbVQnVC2bKIJBngIRmA_3XFrKw,379936
|
|
Binary file
|
amsdal/operations/__init__.pyi
DELETED
|
File without changes
|
|
Binary file
|
amsdal/operations/manager.pyi
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
from amsdal.errors import AmsdalAuthenticationError as AmsdalAuthenticationError
|
|
2
|
-
from amsdal_data.connections.base import ConnectionBase
|
|
3
|
-
from amsdal_data.connections.historical_base import HistoricalConnectionBase
|
|
4
|
-
from amsdal_data.connections.state_base import StateConnectionBase
|
|
5
|
-
from amsdal_data.operations.enums import OperationType
|
|
6
|
-
from amsdal_data.operations.manager import OperationsManagerBase
|
|
7
|
-
from amsdal_models.classes.model import Model
|
|
8
|
-
from amsdal_utils.models.data_models.address import Address
|
|
9
|
-
from amsdal_utils.models.data_models.metadata import Metadata as Metadata
|
|
10
|
-
from typing import Any
|
|
11
|
-
|
|
12
|
-
class OperationsManager(OperationsManagerBase):
|
|
13
|
-
"""
|
|
14
|
-
Manages operations for models, including state and historical operations.
|
|
15
|
-
"""
|
|
16
|
-
def _get_connections(self, obj: Model, using: str | None) -> list[ConnectionBase]: ...
|
|
17
|
-
def _perform_state_operation(self, obj: Model, data_dump: dict[str, Any], operation: OperationType, connection: StateConnectionBase) -> None: ...
|
|
18
|
-
@classmethod
|
|
19
|
-
def clear_data(cls, _value: Any) -> Any:
|
|
20
|
-
"""
|
|
21
|
-
Clears data by recursively processing dictionaries, lists, and enums.
|
|
22
|
-
|
|
23
|
-
Returns:
|
|
24
|
-
Any: The cleared value.
|
|
25
|
-
"""
|
|
26
|
-
def _is_reference(self, _value: Any) -> bool: ...
|
|
27
|
-
def _perform_historical_operation(self, obj: Model, data_dump: dict[str, Any], operation: OperationType, connection: HistoricalConnectionBase) -> None: ...
|
|
28
|
-
def _preprocess_object(self, obj: Model, operation: OperationType) -> None: ...
|
|
29
|
-
def perform_operation(self, obj: Model, operation: OperationType, using: str | None = None) -> None:
|
|
30
|
-
"""
|
|
31
|
-
Performs the specified operation on the given model object.
|
|
32
|
-
|
|
33
|
-
Args:
|
|
34
|
-
obj (Model): The model object.
|
|
35
|
-
operation (OperationType): The type of operation to perform.
|
|
36
|
-
using (str | None, optional): The database alias to use. Defaults to None.
|
|
37
|
-
|
|
38
|
-
Returns:
|
|
39
|
-
None
|
|
40
|
-
"""
|
|
41
|
-
def _generate_references(self, address: Address, data: Any, reference_buffer: list[tuple[Address, dict[str, Any]]]) -> None: ...
|
|
42
|
-
def _perform_historical_bulk_operation(self, objects_data: list[tuple[Model, dict[str, Any]]], operation: OperationType, connection: HistoricalConnectionBase) -> None: ...
|
|
43
|
-
def _perform_state_bulk_operation(self, objects_data: list[tuple[Model, dict[str, Any]]], operation: OperationType, connection: StateConnectionBase) -> None: ...
|
|
44
|
-
def perform_bulk_operation(self, objs: list[Model], operation: OperationType, using: str | None = None) -> None:
|
|
45
|
-
"""
|
|
46
|
-
Performs the specified bulk operation on the given model objects.
|
|
47
|
-
|
|
48
|
-
Args:
|
|
49
|
-
objs (list[Model]): The list of model objects.
|
|
50
|
-
operation (OperationType): The type of operation to perform.
|
|
51
|
-
using (str | None, optional): The database alias to use. Defaults to None.
|
|
52
|
-
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|