amsdal 0.1.27__cp310-cp310-macosx_10_9_universal2.whl → 0.2.1__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.1.dist-info}/METADATA +6 -8
- {amsdal-0.1.27.dist-info → amsdal-0.2.1.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.1.dist-info}/LICENSE.txt +0 -0
- {amsdal-0.1.27.dist-info → amsdal-0.2.1.dist-info}/WHEEL +0 -0
- {amsdal-0.1.27.dist-info → amsdal-0.2.1.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.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: AMSDAL
|
|
5
5
|
License: AMSDAL End User License Agreement
|
|
6
6
|
|
|
@@ -129,19 +129,17 @@ 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
|
-
Requires-Dist: amsdal-cli ==0.
|
|
138
|
+
Requires-Dist: amsdal-cli ==0.2.* ; 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
|
-
Requires-Dist: amsdal-server ==0.
|
|
142
|
+
Requires-Dist: amsdal-server ==0.2.* ; extra == 'server'
|
|
145
143
|
|
|
146
144
|
# AMSDAL
|
|
147
145
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
amsdal/manager.pyi,sha256=
|
|
1
|
+
amsdal/manager.pyi,sha256=CzdgDqKHiSWzsie2BiCXcLIU0nXE_xM-2XUjSlwCrRo,7656
|
|
2
2
|
amsdal/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
amsdal/manager.cpython-310-darwin.so,sha256=
|
|
3
|
+
amsdal/manager.cpython-310-darwin.so,sha256=jA7sf28m23L4iBcj9UdZan_JRJyZu8lbQO9XP14bx3U,355296
|
|
4
4
|
amsdal/__init__.py,sha256=EQCJ5OevmkkIpIULumPNIbWk3UI7afDfRzIsZN5mfwg,73
|
|
5
5
|
amsdal/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=VcPLiGSghykwD290sS5A3hSNtPcz5hoBRgNaUTKdEnY,73573
|
|
6
|
-
amsdal/__about__.py,sha256=
|
|
6
|
+
amsdal/__about__.py,sha256=Pn4oEqXV_Efos26MKCzhKSM9DZ_ndV3ZZG9VzdLmYmg,124
|
|
7
7
|
amsdal/errors.pyi,sha256=mcuGsQMWaIUmC9GJDIkf99dQMMsCfBy6OI_UB3NSNmc,597
|
|
8
8
|
amsdal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
amsdal/errors.py,sha256=pZZKIklaDkh8jdFSAfX81TbiylvbaE70nttRjTcTSBk,616
|
|
@@ -12,12 +12,12 @@ amsdal/context/manager.pyi,sha256=9oqHjtub9qqPdIuD2y09IMmRbwSbRBk1T-dXGsWGmMI,14
|
|
|
12
12
|
amsdal/context/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
amsdal/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
amsdal/context/manager.py,sha256=CKGY75P2y-TCnZvK5p9NJsDgHo8KXHSE0Eg5AGRjnfk,1850
|
|
15
|
-
amsdal/mixins/class_versions_mixin.pyi,sha256=
|
|
15
|
+
amsdal/mixins/class_versions_mixin.pyi,sha256=y6efaYnsym2oSghAPEZ4oDiMLg5FnN7M9worsEODJOU,177
|
|
16
16
|
amsdal/mixins/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
amsdal/mixins/build_mixin.cpython-310-darwin.so,sha256=
|
|
17
|
+
amsdal/mixins/build_mixin.cpython-310-darwin.so,sha256=ZZJEP6ZnKyyhJIKOr-4LpSwO--XjbLmNU-2ymaphUeI,337464
|
|
18
18
|
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=
|
|
19
|
+
amsdal/mixins/__init__.cpython-310-darwin.so,sha256=tPwwI65O7r2t9WmpPuqLX4XQJ0RQlSZEZ8nKsSq4SCA,120672
|
|
20
|
+
amsdal/mixins/class_versions_mixin.cpython-310-darwin.so,sha256=pjV54_Y_BlpwOOx0jpPFhQsq2gsL_p4IABliypiSoIo,162416
|
|
21
21
|
amsdal/utils/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
amsdal/utils/contrib_paths.py,sha256=9BpNegbPofuvaQ4bE4E5cO4IV415ZZJkTqSLHUruJ3k,787
|
|
23
23
|
amsdal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -25,9 +25,9 @@ amsdal/utils/contrib_paths.pyi,sha256=Ngb_2wCTCPJ9NSIqKiP254Ww9xrQzAV1-AiqUkVmiu
|
|
|
25
25
|
amsdal/utils/tests/enums.py,sha256=DoVtMzvfePjfLiAVctPDehdTTHawDbWrQP3yg46Bx6k,390
|
|
26
26
|
amsdal/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
amsdal/utils/tests/factories.py,sha256=SAnMjkDHg2dXgnDfxQGTvZX5MLuRmdskq7Cjbf6swVk,1926
|
|
28
|
-
amsdal/utils/tests/helpers.py,sha256=
|
|
28
|
+
amsdal/utils/tests/helpers.py,sha256=AV6TCF328SdfJpQugrCW5p-dDqCaxDABp_bS9hEhMrU,10717
|
|
29
29
|
amsdal/contrib/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
amsdal/contrib/__init__.cpython-310-darwin.so,sha256=
|
|
30
|
+
amsdal/contrib/__init__.cpython-310-darwin.so,sha256=ZfZPzipHPRV7zD6YWdBMlqGeMwoSkXIjADf2L6XimZ4,120672
|
|
31
31
|
amsdal/contrib/app_config.pyi,sha256=j3MYfBcn9MzhTagEczGWfVH9N5jrfiKmUhxZMoakojw,149
|
|
32
32
|
amsdal/contrib/app_config.py,sha256=RT3RAEE49XtzuFTXYNVuaqU9V4YIl0ZWZijtXgV-SC4,131
|
|
33
33
|
amsdal/contrib/auth/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -66,8 +66,8 @@ amsdal/contrib/frontend_configs/app.py,sha256=fY4GukBM6GKSZExT0EgddTamLfUJHwQZS8
|
|
|
66
66
|
amsdal/contrib/frontend_configs/migrations/0000_initial.py,sha256=sx1aIIwciX9qRmU8znjuUVMIx6dEwVjvlyo1TKS1KM8,13513
|
|
67
67
|
amsdal/contrib/frontend_configs/lifecycle/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
68
|
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=
|
|
69
|
+
amsdal/contrib/frontend_configs/lifecycle/consumer.pyi,sha256=aSAazBgugl0ltSQSQ35CX71jwOCbTzLl5uWloVWwNOw,3698
|
|
70
|
+
amsdal/contrib/frontend_configs/lifecycle/consumer.py,sha256=GZMY9ipeaHCV4tft84Cf_rJtf5jmiG5NZ4xosnhUygI,9158
|
|
71
71
|
amsdal/contrib/frontend_configs/models/frontend_control_config/model.json,sha256=U_AB2OMdSbhsM7OksOexmettKlxoGcPfJedhMur2mMw,6791
|
|
72
72
|
amsdal/contrib/frontend_configs/models/frontend_config_skip_none_base/model.json,sha256=Mkk3rsx9UwG9EnUOnCxN-xMChEKjEJh4ql3HmBLH5FM,119
|
|
73
73
|
amsdal/contrib/frontend_configs/models/frontend_config_skip_none_base/properties/model_dump.py,sha256=009_69Jc2zKmJ4bQWbVG7HeT2QWvXc2g8D1jyZ6aoL0,426
|
|
@@ -86,15 +86,11 @@ amsdal/contrib/frontend_configs/conversion/__init__.pyi,sha256=Gbz6P3jhpqK6hLcGx
|
|
|
86
86
|
amsdal/contrib/frontend_configs/conversion/convert.py,sha256=4wkE8-oswApNbTzFTQ9azEwLGQqAToaHcHcDTTg2EFk,7604
|
|
87
87
|
amsdal/contrib/frontend_configs/conversion/convert.pyi,sha256=zl-M_yK9n3LvbOjs6GDpOfWBO10rsPrqA06zusICNew,979
|
|
88
88
|
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
|
|
89
|
+
amsdal/schemas/manager.pyi,sha256=Trl6hVRoerdyTlKNYYk8QuhAsDWKj57gMgKRhMg4Ksk,2804
|
|
94
90
|
amsdal/schemas/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
95
|
-
amsdal/schemas/manager.cpython-310-darwin.so,sha256=
|
|
91
|
+
amsdal/schemas/manager.cpython-310-darwin.so,sha256=gGqqRhJVVoBOh-9Mo0PpLUPLdvo12qxBHp5F-AHhaek,232896
|
|
96
92
|
amsdal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
|
-
amsdal/schemas/manager.py,sha256=
|
|
93
|
+
amsdal/schemas/manager.py,sha256=PzJXc1xKs2_sS1SDfSJ0B_jftFfOqCDZrBywvRI7we4,4639
|
|
98
94
|
amsdal/schemas/types/array/model.json,sha256=I9Z7r691yd8i-Ndy8Cf3rFGg22mnLxg_weeVU2kRtkY,117
|
|
99
95
|
amsdal/schemas/types/datetime/model.json,sha256=DROVOPm0uQXy4qUj4mQUnhvfT_67psrQJj8psVRYjrA,120
|
|
100
96
|
amsdal/schemas/types/date/model.json,sha256=_siNphlfvq-bZ29Z3tloQlxh1_zRsEkXuO5HJsXmDSE,116
|
|
@@ -131,115 +127,115 @@ amsdal/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
131
127
|
amsdal/configs/main.pyi,sha256=mVr27fnB05XsRoFk_o0LMB4Ug-dNaPJlDHKdrUZPrLw,6881
|
|
132
128
|
amsdal/configs/main.py,sha256=GWunT_7daFf6t5Jre16zvOyQIRyA7LWjuz8BzTgVztw,9169
|
|
133
129
|
amsdal/cloud/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
-
amsdal/cloud/enums.cpython-310-darwin.so,sha256=
|
|
130
|
+
amsdal/cloud/enums.cpython-310-darwin.so,sha256=GM1wHqPoLLTu6bQmnMcs6oL2srLNLNcyyLgDCJEKZLM,158000
|
|
135
131
|
amsdal/cloud/constants.pyi,sha256=0qWxDqjQkETwUtgco5kV83fPHhQ4jRdJe_YPPNTnSIY,327
|
|
136
132
|
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=
|
|
133
|
+
amsdal/cloud/client.cpython-310-darwin.so,sha256=NkMRS7pGNyB4Y06FXmii6vp86A_ifV6gtLIFaxda0q8,215952
|
|
134
|
+
amsdal/cloud/__init__.cpython-310-darwin.so,sha256=AzQCAKp_ForlGeXIEXHqu8JnrTXnv8kBp-GBW3DBWQM,120656
|
|
135
|
+
amsdal/cloud/constants.cpython-310-darwin.so,sha256=K1uO5Qn_WM9mb0yIjM7MVAjlHuPHTTpbYRJjL-YUqAM,158624
|
|
140
136
|
amsdal/cloud/enums.pyi,sha256=mX5O1FPc3aNnN108aOJT66Nn9KlcyrRTj9B23sFdDfw,1757
|
|
141
137
|
amsdal/cloud/models/base.pyi,sha256=avwAj4uS4NHrXvmSKBxokFKFWSaBPXtJPl1Ig1CD6sg,7727
|
|
142
138
|
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=
|
|
139
|
+
amsdal/cloud/models/base.cpython-310-darwin.so,sha256=V4fKZU4_UjTxz-e0KV0uHpZJyYUumfm8xK7KwXXTv-o,211584
|
|
140
|
+
amsdal/cloud/models/__init__.cpython-310-darwin.so,sha256=NqDNScBFDn6rnaYB8YIJJqU6zuqI3ZrciOnowZG3KqQ,120688
|
|
145
141
|
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=
|
|
142
|
+
amsdal/cloud/services/__init__.cpython-310-darwin.so,sha256=HaMLmnMNKWBHj0oFUkARgb80FHjC9YzXtIpT_pKoGm0,120704
|
|
143
|
+
amsdal/cloud/services/auth/token.cpython-310-darwin.so,sha256=hiYbzx56QI--b3N6-akrYkq0aRCHAe9xqZ95-o5KynQ,251008
|
|
148
144
|
amsdal/cloud/services/auth/base.pyi,sha256=oj_tgwWhf02g-FzCLcNOEZjYDxfcrrDssING4jsUMb8,167
|
|
149
145
|
amsdal/cloud/services/auth/manager.pyi,sha256=AhKllHgraztP3JSKta9MmQjTNRAbQbwqZg2EpQZSwhI,1243
|
|
150
146
|
amsdal/cloud/services/auth/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
151
|
-
amsdal/cloud/services/auth/manager.cpython-310-darwin.so,sha256=
|
|
147
|
+
amsdal/cloud/services/auth/manager.cpython-310-darwin.so,sha256=SioIqQjgeupGKn17K95y8Px9PjAYOyFcMvJr45KaIu4,214080
|
|
152
148
|
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
|
|
149
|
+
amsdal/cloud/services/auth/base.cpython-310-darwin.so,sha256=oTBk0cj_P0HE93pyogIhH7V29FNWAwcN63o8OqAyVMQ,163040
|
|
150
|
+
amsdal/cloud/services/auth/__init__.cpython-310-darwin.so,sha256=N-n4Lw3pRPPMXJxxkcq_JJMyuO_vu5mcfcctv3-tzCs,120720
|
|
155
151
|
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=
|
|
152
|
+
amsdal/cloud/services/auth/credentials.cpython-310-darwin.so,sha256=cQsz51kSOIKu45069O-BhAcAl7_B34hbonyAsZlUVGY,253128
|
|
153
|
+
amsdal/cloud/services/auth/signup_service.cpython-310-darwin.so,sha256=yLzQbh4ZG_rXtl-tXbwweOQcgaYmp969WIE8C6bRc-c,216152
|
|
158
154
|
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=
|
|
155
|
+
amsdal/cloud/services/actions/list_deploys.cpython-310-darwin.so,sha256=W1fvbMhvSOaQotcvy_uR9NhLM0bAAlXDQgRj5OrkuZI,180984
|
|
156
|
+
amsdal/cloud/services/actions/destroy_deploy.cpython-310-darwin.so,sha256=tUtys8ztnDhSCUEzJkWHU77k5DhG0tA3X6fMAbiPOnU,180472
|
|
157
|
+
amsdal/cloud/services/actions/list_envs.cpython-310-darwin.so,sha256=AnJ8HXt_CiKJz2NXedH2ckJriZ6cnEtBDD__tCIKfF4,180688
|
|
162
158
|
amsdal/cloud/services/actions/list_envs.pyi,sha256=7PylFRd1Jb6nkTt8q8iy27rLj-Q5qcwfqW02_OlfDZs,878
|
|
163
|
-
amsdal/cloud/services/actions/list_dependencies.cpython-310-darwin.so,sha256=
|
|
159
|
+
amsdal/cloud/services/actions/list_dependencies.cpython-310-darwin.so,sha256=0pU5PalxQpBIR0rehyo1OU7lQY4dU2Q3K9w8_NTm96M,181240
|
|
164
160
|
amsdal/cloud/services/actions/base.pyi,sha256=J98igdu3E9-mled_kbxerja4DTLM0OAW8cHtsVOQ_fc,5880
|
|
165
161
|
amsdal/cloud/services/actions/manager.pyi,sha256=Tal5u1nMhi7MeuJ9lBIPYPLgKoIB6DUXPU2AokrusHI,15441
|
|
166
162
|
amsdal/cloud/services/actions/delete_allowlist_ip.pyi,sha256=W5zVq7YKL_OVigZl58bqau3rvAzsLdItAZaqDO1HGJw,933
|
|
167
|
-
amsdal/cloud/services/actions/create_deploy.cpython-310-darwin.so,sha256=
|
|
163
|
+
amsdal/cloud/services/actions/create_deploy.cpython-310-darwin.so,sha256=7i4LgDIgMcV2liSMaq3iYOXGx2reh0MR0kBgDUDG4XQ,252600
|
|
168
164
|
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=
|
|
165
|
+
amsdal/cloud/services/actions/create_session.cpython-310-darwin.so,sha256=0wGbw60TJzy90fTGBPAj2doWg435sCy_Jrqjex7Oaa4,180920
|
|
170
166
|
amsdal/cloud/services/actions/list_secrets.pyi,sha256=vF-EikAy7WHdkvkGikD_oDFDIgE1GEr8nxAQKYAs9rY,1079
|
|
171
167
|
amsdal/cloud/services/actions/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
172
|
-
amsdal/cloud/services/actions/manager.cpython-310-darwin.so,sha256=
|
|
168
|
+
amsdal/cloud/services/actions/manager.cpython-310-darwin.so,sha256=i_OMyV0xIFnkMQ_o2gO48Uk1g8PH9Hum2WFCzaooSII,371248
|
|
173
169
|
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=
|
|
170
|
+
amsdal/cloud/services/actions/base.cpython-310-darwin.so,sha256=Hl_mokJ7NKH87c3hAQ8qDbMK0fOOK8upqHbr6zBHWIE,323504
|
|
171
|
+
amsdal/cloud/services/actions/get_basic_auth_credentials.cpython-310-darwin.so,sha256=DzEvE48d_GNuvrI7jhLjd-bFsd0yRrGjiUmfOp9beKE,181016
|
|
172
|
+
amsdal/cloud/services/actions/add_allowlist_ip.cpython-310-darwin.so,sha256=dwVXM3Fhd4iZbvWJ_fAb56oJKhmEJ0j5NN0NJ1Ij14U,180712
|
|
173
|
+
amsdal/cloud/services/actions/signup_action.cpython-310-darwin.so,sha256=nH5XbPlkH5Lq1BL-r1DU_LHdu6RWPEzGeBT6hj8LuFo,180520
|
|
174
|
+
amsdal/cloud/services/actions/delete_basic_auth.cpython-310-darwin.so,sha256=dnjSjSQZzTqnfM1WnVSi2sZysQ5V_f0FfQdy4W-wyo4,180680
|
|
175
|
+
amsdal/cloud/services/actions/expose_db.cpython-310-darwin.so,sha256=dRMwe-lqgp6eFVV_O14_IQ2obCCjXu_GMt9YgTA_Fuo,181120
|
|
176
|
+
amsdal/cloud/services/actions/add_secret.cpython-310-darwin.so,sha256=onmZTqkf989WEk4e6Kdl2iyD_zK7v33f01e5IW1goa4,180584
|
|
177
|
+
amsdal/cloud/services/actions/delete_dependency.cpython-310-darwin.so,sha256=dm5Cjr1PUNYrYcyPE_oVHS9ubss14dhaJXLIIAh54e8,180696
|
|
182
178
|
amsdal/cloud/services/actions/delete_secret.pyi,sha256=gZi17MivNYBIfdPU2GjoJ2I2lWiefdvLuXTcxDss1P4,953
|
|
183
179
|
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=
|
|
180
|
+
amsdal/cloud/services/actions/list_secrets.cpython-310-darwin.so,sha256=Dh0y12LEs-zf-vjGS65sFDCBOB8mptdRi14ZV2uHjTM,181240
|
|
185
181
|
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=
|
|
182
|
+
amsdal/cloud/services/actions/delete_env.cpython-310-darwin.so,sha256=MKNQ-flU4to1Vf7aRsd4yR3pYHht-edHeJAevRWFy90,180760
|
|
183
|
+
amsdal/cloud/services/actions/__init__.cpython-310-darwin.so,sha256=VDm-6FXIu6RiJy_EomTPkZuKWMCO03mP98XhlyXcRMk,120736
|
|
188
184
|
amsdal/cloud/services/actions/create_session.pyi,sha256=KUvx_vkhLQfGp_DM1ZvgszyT_G8LB28KoI1XpjNR7YY,674
|
|
189
185
|
amsdal/cloud/services/actions/list_deploys.pyi,sha256=Q8da3PDPxICLP2V7L-A7p-9_a3qNKrARqgHhu0CA0nA,724
|
|
190
186
|
amsdal/cloud/services/actions/add_allowlist_ip.pyi,sha256=gB2NQVz8NcSsgXYiym2Suh1RPI8eHKIAFE13RmeTHkA,883
|
|
191
187
|
amsdal/cloud/services/actions/get_monitoring_info.pyi,sha256=uvtBgWvtWf-Mq4vZq_q-q8Z8hJh5voAY61KRJQPGWFk,1045
|
|
192
188
|
amsdal/cloud/services/actions/add_dependency.pyi,sha256=uVEIhvDa4GRS0Lg6TkcYdOwezKcxrzL7A_Lh8BxcAeU,837
|
|
193
189
|
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=
|
|
190
|
+
amsdal/cloud/services/actions/delete_secret.cpython-310-darwin.so,sha256=xaz8o61gJBYYY9gtYV82fpHhzbBzw79ZoJHYiRwpdqE,180632
|
|
195
191
|
amsdal/cloud/services/actions/add_secret.pyi,sha256=H6rS3PRwiktMfnoY8qwtmTplN9gG2yZgQKKCX8S8Q6c,890
|
|
196
192
|
amsdal/cloud/services/actions/destroy_deploy.pyi,sha256=VNb0J71B3gk4SVJwxlB9XTj4vCG-37ucojcGzsvKwe8,609
|
|
197
193
|
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=
|
|
194
|
+
amsdal/cloud/services/actions/delete_allowlist_ip.cpython-310-darwin.so,sha256=wwKvTRBPPQ_0cOsbOEUR78o6XOtvDbU9k_BwcPtDhgc,180768
|
|
195
|
+
amsdal/cloud/services/actions/add_dependency.cpython-310-darwin.so,sha256=Ij6Ymrlsssph2VMRv_IY5mTMWRmI1jGvYGFebnkj0Us,180648
|
|
200
196
|
amsdal/cloud/services/actions/create_deploy.pyi,sha256=VmVMYJQmjPZce6Cm8sMQ27HomhfdzZc_0X57ZWZmCt0,1988
|
|
201
197
|
amsdal/cloud/services/actions/delete_basic_auth.pyi,sha256=-I1YoOMFi0LaRsZL2JBGH_sg18PZoUL1PP9YetboDJA,915
|
|
202
198
|
amsdal/cloud/services/actions/list_dependencies.pyi,sha256=C37VamSyRT-uNLuwQJ0OrHKavs8Jt0bfPbAsE5BQEvE,1035
|
|
203
|
-
amsdal/cloud/services/actions/add_basic_auth.cpython-310-darwin.so,sha256=
|
|
199
|
+
amsdal/cloud/services/actions/add_basic_auth.cpython-310-darwin.so,sha256=VxEOG1tRRTL81Jf2voqlNoekKB1k3-fQMplfg34W3n0,181048
|
|
204
200
|
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=
|
|
201
|
+
amsdal/cloud/services/actions/get_monitoring_info.cpython-310-darwin.so,sha256=YnMJuntzgZlrlf3n_qrNJUXFT4aL1ixnlerbALnsBrE,180912
|
|
202
|
+
amsdal/cloud/services/actions/update_deploy.cpython-310-darwin.so,sha256=AKPU2QIAG1SFvaeXnrmVtM3V-7wOqa7pi-hgboTCVVY,180984
|
|
207
203
|
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=
|
|
204
|
+
amsdal/cloud/services/actions/create_env.cpython-310-darwin.so,sha256=WF4cTqs4TeB0eACj4AFlKTmO3NwM64w0AxK0p4HxVww,180760
|
|
205
|
+
amsdal/fixtures/manager.pyi,sha256=kL4HYcYnjIii4Va3Sb8WqCxpoXzLe25wCFnp2Uz0k0k,4948
|
|
210
206
|
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=
|
|
207
|
+
amsdal/fixtures/manager.cpython-310-darwin.so,sha256=87bdc9J8YNxbj1rbu6UKIiuTwXXMWoa7raP3TewkQPg,409072
|
|
208
|
+
amsdal/fixtures/__init__.cpython-310-darwin.so,sha256=YAqC9xcxaK-I_rKyeL5n8XBZNihzKKrX2F17sgSP8iM,120672
|
|
209
|
+
amsdal/migration/base_migration_schemas.cpython-310-darwin.so,sha256=3Ml-dCEZaXt2QqNYQn9eimGICIgfPxxska2sl0_sW84,462464
|
|
210
|
+
amsdal/migration/file_migration_store.pyi,sha256=ijFmdl5bjrPE8cqyS0WeUy5ZN_v08lLCuXA23woVXgg,2257
|
|
215
211
|
amsdal/migration/file_migration_executor.pyi,sha256=pxhk5mxoXTkz8NX5gMMv_WC2sUdxpuMSXNjv9sNJCBk,3982
|
|
216
212
|
amsdal/migration/migrations_loader.pyi,sha256=i1TsBHT52piM-gAGJGjYplbZHJJtZvJ83b_-gYSN2xU,1129
|
|
217
213
|
amsdal/migration/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
218
214
|
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=
|
|
215
|
+
amsdal/migration/base_migration_schemas.pyi,sha256=l2bGckKVR7wkilFv9LueCr3nUq6g9IPOj-dDPUTrw34,5200
|
|
216
|
+
amsdal/migration/data_classes.pyi,sha256=fgeV5Fv0YyP5GcHaLLjPcPusqIckZLGI-E_QZ5NIeKI,5834
|
|
217
|
+
amsdal/migration/utils.pyi,sha256=AM1jSDzwuT_Tt1DdT3ZlDtud-prPc6ytlanw2vPkqvI,2435
|
|
218
|
+
amsdal/migration/__init__.cpython-310-darwin.so,sha256=k94NY90KwtOEAKBT4r5fzwOR9s4-cxJqrd7dTcxVPkA,120688
|
|
219
|
+
amsdal/migration/migrations.cpython-310-darwin.so,sha256=IOCM_oxDoDxmLiFXy2MQuE40icS89D99iUcm07nnSyI,267896
|
|
220
|
+
amsdal/migration/schemas_loaders.pyi,sha256=al7V-fO1z88go1eitWLWolxNSJNjTsZRLg0gYYvi2A8,1607
|
|
221
|
+
amsdal/migration/data_classes.cpython-310-darwin.so,sha256=_9eJUyEtXKgm99XGIr__DZp2v7fyVmknrBPYoJzIi2g,216936
|
|
222
|
+
amsdal/migration/file_migration_store.cpython-310-darwin.so,sha256=D-W9clZmOw2IHbwnpYEagYTrHhFxlwYSaX2wuffeLAY,407792
|
|
223
|
+
amsdal/migration/migrations_loader.cpython-310-darwin.so,sha256=iBHfXQKXdhLLhRx3tRXMfC1V1ub7IqmQIGDsC5uQOC4,217560
|
|
224
|
+
amsdal/migration/file_migration_executor.cpython-310-darwin.so,sha256=IOob5ygD1zFytx2Z6XKc_7QikMa0nYsqbLwAdnndq6Q,354752
|
|
225
|
+
amsdal/migration/schemas_loaders.cpython-310-darwin.so,sha256=GBgJsKY2ZReDKojAnks5FLL2ke7Aoh26pkxXqDcVP00,256760
|
|
226
|
+
amsdal/migration/file_migration_generator.cpython-310-darwin.so,sha256=GFidVmNASJk28zQv4BrMMpI6TeghKb_8vx30-MIw7aM,393984
|
|
227
|
+
amsdal/migration/file_migration_generator.pyi,sha256=KbQnN0ySKLNNOIqXrQ1ZGWwyPRtGYMiN-B0y8h0HEBs,5815
|
|
228
|
+
amsdal/migration/utils.cpython-310-darwin.so,sha256=_Mpf9ISn1TX0CKj9sV49UgINAIYBt21LreRVpnOLmuU,303184
|
|
229
|
+
amsdal/migration/file_migration_writer.cpython-310-darwin.so,sha256=5cO7qlkn3cy9tXmcsLUkYbeTvQ1W8gcEG1ZaNw8UTvM,252336
|
|
234
230
|
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=
|
|
231
|
+
amsdal/migration/executors/base.pyi,sha256=Uth5pOgA8de0DjPWOiPPJWtuo1Ph4QVL2133JRD1euE,4883
|
|
232
|
+
amsdal/migration/executors/state_executor.pyi,sha256=AHMe16WSVZUMMKyLaPpZbdRq_uzV09QtmJcBXYIXJ_w,3397
|
|
233
|
+
amsdal/migration/executors/default_executor.cpython-310-darwin.so,sha256=GGK4-llNx6BQjvCaEDm92mDRDazsxjyYRnD2UghYAFE,543688
|
|
238
234
|
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=
|
|
235
|
+
amsdal/migration/executors/base.cpython-310-darwin.so,sha256=ABDvHig2CTYLWAHRjnZg889QulxMIXHx3NokH3Jw6TU,303936
|
|
236
|
+
amsdal/migration/executors/__init__.cpython-310-darwin.so,sha256=jzeMWKCJtD2OWEEPBj-MT1mQe5npbEyJamxzmr1VoxM,120736
|
|
237
|
+
amsdal/migration/executors/default_executor.pyi,sha256=HabItIKp3-t0YGXQOqLMGFxn2o-5KaOvgE8ClbAa-n0,4880
|
|
238
|
+
amsdal/migration/executors/state_executor.cpython-310-darwin.so,sha256=lB-HoxucaquzsWMntkgSv-w1uHRxlb1H3ieiIgenNPg,250520
|
|
243
239
|
amsdal/migration/templates/model_class_layout.tmpl,sha256=ttbq0xgimvHn-ffM4ZSj2_DMH5srCmUtkwGd38pyDXY,766
|
|
244
240
|
amsdal/migration/templates/options_validator.tmpl,sha256=gF_uiYONVad4OEILZeIdrepcHOFhwPq3nu0NJX8I1EA,205
|
|
245
241
|
amsdal/migration/templates/model_class.tmpl,sha256=t0y_OlxVmJe5RRg8pxO0XyUM3q1sAuv458q8wmDvh-8,225
|
|
@@ -248,10 +244,10 @@ amsdal/migration/templates/migration.tmpl,sha256=WZe7A1lchoiqZZhGL2YUKVzafMPRiW9
|
|
|
248
244
|
amsdal/migration/templates/dict_validator.tmpl,sha256=5lRGN9hNBVRqVcbeNQuU4v5koRzS6tJAibzOqjCUXSI,173
|
|
249
245
|
amsdal/services/transaction_execution.pyi,sha256=xYxfnCO7oNy1tWRrHvBQp4k2uk33emwHHMt_uk4oi1A,3440
|
|
250
246
|
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.
|
|
254
|
-
amsdal-0.1.
|
|
255
|
-
amsdal-0.1.
|
|
256
|
-
amsdal-0.1.
|
|
257
|
-
amsdal-0.1.
|
|
247
|
+
amsdal/services/__init__.cpython-310-darwin.so,sha256=VlHVtXNIW1JTxBLYS8UQJuTwYxdSBQMltBUYcaF4nJM,120672
|
|
248
|
+
amsdal/services/transaction_execution.cpython-310-darwin.so,sha256=mq8RH5It533MnwMZOxhyvwYjWBrsSeTNJy5_bngiC4M,379936
|
|
249
|
+
amsdal-0.2.1.dist-info/RECORD,,
|
|
250
|
+
amsdal-0.2.1.dist-info/WHEEL,sha256=ClVOi9g10rI0HLG8M8rsO0ZIZ1smbNYM10V9YDSXCJY,114
|
|
251
|
+
amsdal-0.2.1.dist-info/top_level.txt,sha256=VPQLnOP3mf7q0JuQ_vPZYQyPNGKd_uc6ouz-hZRkhSk,7
|
|
252
|
+
amsdal-0.2.1.dist-info/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
|
|
253
|
+
amsdal-0.2.1.dist-info/METADATA,sha256=4X43rjHR3jS3ysOAec3uvTAhhNo2Hg25-ywiZYIfugs,57320
|
|
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
|