amsdal 0.1.24__cp310-cp310-win_amd64.whl → 0.1.25__cp310-cp310-win_amd64.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__.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/client.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/constants.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/enums.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/models/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/models/base.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/add_allowlist_ip.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/add_basic_auth.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/add_dependency.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/add_secret.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/base.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/create_deploy.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/create_env.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/create_session.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/delete_allowlist_ip.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/delete_basic_auth.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/delete_dependency.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/delete_env.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/delete_secret.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/destroy_deploy.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/expose_db.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/get_basic_auth_credentials.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/get_monitoring_info.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/list_dependencies.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/list_deploys.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/list_envs.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/list_secrets.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/manager.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/signup_action.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/actions/update_deploy.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/base.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/credentials.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/manager.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/signup_service.cp310-win_amd64.pyd +0 -0
- amsdal/cloud/services/auth/token.cp310-win_amd64.pyd +0 -0
- amsdal/contrib/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/contrib/auth/models/user/hooks/pre_create.py +1 -1
- amsdal/fixtures/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/fixtures/manager.cp310-win_amd64.pyd +0 -0
- amsdal/manager.cp310-win_amd64.pyd +0 -0
- amsdal/migration/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/migration/base_migration_schemas.cp310-win_amd64.pyd +0 -0
- amsdal/migration/data_classes.cp310-win_amd64.pyd +0 -0
- amsdal/migration/executors/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/migration/executors/base.cp310-win_amd64.pyd +0 -0
- amsdal/migration/executors/default_executor.cp310-win_amd64.pyd +0 -0
- amsdal/migration/executors/state_executor.cp310-win_amd64.pyd +0 -0
- amsdal/migration/file_migration_executor.cp310-win_amd64.pyd +0 -0
- amsdal/migration/file_migration_generator.cp310-win_amd64.pyd +0 -0
- amsdal/migration/file_migration_store.cp310-win_amd64.pyd +0 -0
- amsdal/migration/file_migration_writer.cp310-win_amd64.pyd +0 -0
- amsdal/migration/migrations.cp310-win_amd64.pyd +0 -0
- amsdal/migration/migrations_loader.cp310-win_amd64.pyd +0 -0
- amsdal/migration/schemas_loaders.cp310-win_amd64.pyd +0 -0
- amsdal/migration/utils.cp310-win_amd64.pyd +0 -0
- amsdal/mixins/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/mixins/build_mixin.cp310-win_amd64.pyd +0 -0
- amsdal/mixins/class_versions_mixin.cp310-win_amd64.pyd +0 -0
- amsdal/operations/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/operations/manager.cp310-win_amd64.pyd +0 -0
- amsdal/schemas/manager.cp310-win_amd64.pyd +0 -0
- amsdal/services/__init__.cp310-win_amd64.pyd +0 -0
- amsdal/services/transaction_execution.cp310-win_amd64.pyd +0 -0
- amsdal/utils/tests/__init__.py +0 -0
- amsdal/utils/tests/enums.py +18 -0
- amsdal/utils/tests/helpers.py +311 -0
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.dist-info}/METADATA +1 -1
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.dist-info}/RECORD +76 -73
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.dist-info}/LICENSE.txt +0 -0
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.dist-info}/WHEEL +0 -0
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.dist-info}/license_check.py +0 -0
- {amsdal-0.1.24.dist-info → amsdal-0.1.25.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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
def pre_create(self) -> None: # type: ignore[no-untyped-def]
|
|
1
|
+
def pre_create(self) -> None: # type: ignore[no-untyped-def]
|
|
2
2
|
pass
|
|
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
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class DbExecutionType(str, Enum):
|
|
5
|
+
lakehouse_only = 'lakehouse_only'
|
|
6
|
+
include_state_db = 'include_state_db'
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StateOption(str, Enum):
|
|
10
|
+
sqlite = 'sqlite'
|
|
11
|
+
postgres = 'postgres'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class LakehouseOption(str, Enum):
|
|
15
|
+
postgres = 'postgres'
|
|
16
|
+
postgres_immutable = 'postgres-immutable'
|
|
17
|
+
sqlite = 'sqlite'
|
|
18
|
+
sqlite_immutable = 'sqlite-immutable'
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import random
|
|
3
|
+
import string
|
|
4
|
+
import tempfile
|
|
5
|
+
from collections.abc import Generator
|
|
6
|
+
from collections.abc import Iterator
|
|
7
|
+
from contextlib import contextmanager
|
|
8
|
+
from contextlib import suppress
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
from typing import Any
|
|
11
|
+
|
|
12
|
+
import yaml
|
|
13
|
+
from amsdal_utils.config.manager import AmsdalConfigManager
|
|
14
|
+
from amsdal_utils.models.enums import SchemaTypes
|
|
15
|
+
|
|
16
|
+
from amsdal.configs.constants import CORE_MIGRATIONS_PATH
|
|
17
|
+
from amsdal.configs.main import settings
|
|
18
|
+
from amsdal.manager import AmsdalManager
|
|
19
|
+
from amsdal.migration import migrations
|
|
20
|
+
from amsdal.migration.data_classes import ModuleTypes
|
|
21
|
+
from amsdal.migration.executors.default_executor import DefaultMigrationExecutor
|
|
22
|
+
from amsdal.migration.file_migration_executor import FileMigrationExecutorManager
|
|
23
|
+
from amsdal.migration.file_migration_generator import FileMigrationGenerator
|
|
24
|
+
from amsdal.migration.file_migration_writer import FileMigrationWriter
|
|
25
|
+
from amsdal.migration.migrations import MigrateData
|
|
26
|
+
from amsdal.migration.migrations import MigrationSchemas
|
|
27
|
+
from amsdal.migration.migrations_loader import MigrationsLoader
|
|
28
|
+
from amsdal.migration.schemas_loaders import JsonClassSchemaLoader
|
|
29
|
+
from amsdal.migration.utils import contrib_to_module_root_path
|
|
30
|
+
from amsdal.utils.tests.enums import DbExecutionType
|
|
31
|
+
from amsdal.utils.tests.enums import LakehouseOption
|
|
32
|
+
from amsdal.utils.tests.enums import StateOption
|
|
33
|
+
|
|
34
|
+
TESTS_DIR = Path(os.getcwd())
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def create_postgres_database(database: str) -> tuple[str, str, str, str]:
|
|
38
|
+
import psycopg2
|
|
39
|
+
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
|
|
40
|
+
|
|
41
|
+
db_host = os.getenv('POSTGRES_HOST', 'localhost')
|
|
42
|
+
db_port = os.getenv('POSTGRES_PORT', '5432')
|
|
43
|
+
db_user = os.getenv('POSTGRES_USER', 'postgres')
|
|
44
|
+
db_password = os.getenv('POSTGRES_PASSWORD', 'example')
|
|
45
|
+
|
|
46
|
+
conn = psycopg2.connect(
|
|
47
|
+
host=db_host,
|
|
48
|
+
port=db_port,
|
|
49
|
+
user=db_user,
|
|
50
|
+
password=db_password,
|
|
51
|
+
)
|
|
52
|
+
conn.set_isolation_level(ISOLATION_LEVEL_AUTOCOMMIT)
|
|
53
|
+
cur = conn.cursor()
|
|
54
|
+
|
|
55
|
+
with suppress(psycopg2.errors.DuplicateDatabase):
|
|
56
|
+
cur.execute(f'CREATE DATABASE "{database}"')
|
|
57
|
+
|
|
58
|
+
cur.close()
|
|
59
|
+
conn.close()
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
db_host,
|
|
63
|
+
db_port,
|
|
64
|
+
db_user,
|
|
65
|
+
db_password,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@contextmanager
|
|
70
|
+
def override_settings(**kwargs: Any) -> Iterator[None]:
|
|
71
|
+
"""
|
|
72
|
+
A context manager that temporarily overrides settings.
|
|
73
|
+
|
|
74
|
+
This is a copy of django.test.utils.override_settings, but with the
|
|
75
|
+
ability to override settings with None.
|
|
76
|
+
"""
|
|
77
|
+
from amsdal.configs.main import settings
|
|
78
|
+
|
|
79
|
+
original_settings = settings.model_dump()
|
|
80
|
+
|
|
81
|
+
settings.override(**kwargs)
|
|
82
|
+
|
|
83
|
+
try:
|
|
84
|
+
yield
|
|
85
|
+
finally:
|
|
86
|
+
settings.override(**original_settings)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _get_config_template(
|
|
90
|
+
db_execution_type: DbExecutionType,
|
|
91
|
+
lakehouse_option: LakehouseOption,
|
|
92
|
+
state_option: StateOption,
|
|
93
|
+
) -> str:
|
|
94
|
+
config_object: dict[str, Any] = {
|
|
95
|
+
'application_name': 'test_client_app',
|
|
96
|
+
'connections': [
|
|
97
|
+
{'name': 'lock', 'backend': 'amsdal_data.lock.implementations.thread_lock.ThreadLock'},
|
|
98
|
+
],
|
|
99
|
+
'resources_config': {'lakehouse': 'lakehouse', 'lock': 'lock', 'repository': {'default': 'state'}},
|
|
100
|
+
}
|
|
101
|
+
if lakehouse_option in [LakehouseOption.postgres, LakehouseOption.postgres_immutable]:
|
|
102
|
+
config_object['connections'].append(
|
|
103
|
+
{
|
|
104
|
+
'name': 'lakehouse',
|
|
105
|
+
'backend': 'postgres-historical',
|
|
106
|
+
'credentials': [
|
|
107
|
+
{
|
|
108
|
+
'db_host': '{{ db_host }}',
|
|
109
|
+
'db_port': '{{ db_port }}',
|
|
110
|
+
'db_user': '{{ db_user }}',
|
|
111
|
+
'db_password': '{{ db_password }}',
|
|
112
|
+
'db_name': '{{ lakehouse_postgres_db }}',
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
elif lakehouse_option in [LakehouseOption.sqlite, LakehouseOption.sqlite_immutable]:
|
|
118
|
+
config_object['connections'].append(
|
|
119
|
+
{
|
|
120
|
+
'name': 'lakehouse',
|
|
121
|
+
'backend': 'sqlite-historical',
|
|
122
|
+
'credentials': [{'db_path': '{{ db_dir }}/sqlite_lakehouse.sqlite3'}],
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
if db_execution_type == DbExecutionType.lakehouse_only:
|
|
127
|
+
config_object['resources_config']['repository']['default'] = 'lakehouse'
|
|
128
|
+
|
|
129
|
+
return yaml.dump(config_object)
|
|
130
|
+
|
|
131
|
+
if state_option == StateOption.postgres:
|
|
132
|
+
config_object['connections'].append(
|
|
133
|
+
{
|
|
134
|
+
'name': 'state',
|
|
135
|
+
'backend': 'postgres',
|
|
136
|
+
'credentials': [
|
|
137
|
+
{
|
|
138
|
+
'db_host': '{{ db_host }}',
|
|
139
|
+
'db_port': '{{ db_port }}',
|
|
140
|
+
'db_user': '{{ db_user }}',
|
|
141
|
+
'db_password': '{{ db_password }}',
|
|
142
|
+
'db_name': '{{ state_postgres_db }}',
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
elif state_option == StateOption.sqlite:
|
|
149
|
+
config_object['connections'].append(
|
|
150
|
+
{
|
|
151
|
+
'name': 'state',
|
|
152
|
+
'backend': 'sqlite',
|
|
153
|
+
'credentials': [{'db_path': '{{ db_dir }}/sqlite_state.sqlite3'}],
|
|
154
|
+
}
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
return yaml.dump(config_object)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
@contextmanager
|
|
161
|
+
def init_manager(
|
|
162
|
+
db_execution_type: DbExecutionType,
|
|
163
|
+
lakehouse_option: LakehouseOption,
|
|
164
|
+
state_option: StateOption,
|
|
165
|
+
) -> Generator[AmsdalManager, Any, None]:
|
|
166
|
+
Path('.tmp').mkdir(exist_ok=True)
|
|
167
|
+
with tempfile.TemporaryDirectory(dir='.tmp') as temp_dir:
|
|
168
|
+
db_dir = Path(temp_dir) / 'db_dir'
|
|
169
|
+
(db_dir / 'warehouse').mkdir(exist_ok=True, parents=True)
|
|
170
|
+
|
|
171
|
+
lakehouse_database = ''.join(random.sample(string.ascii_letters, 16))
|
|
172
|
+
state_database = ''.join(random.sample(string.ascii_letters, 16))
|
|
173
|
+
config_text = _get_config_template(db_execution_type, lakehouse_option, state_option)
|
|
174
|
+
|
|
175
|
+
if lakehouse_option in [LakehouseOption.postgres, LakehouseOption.postgres_immutable]:
|
|
176
|
+
(
|
|
177
|
+
db_host,
|
|
178
|
+
db_port,
|
|
179
|
+
db_user,
|
|
180
|
+
db_password,
|
|
181
|
+
) = create_postgres_database(lakehouse_database)
|
|
182
|
+
|
|
183
|
+
config_text = (
|
|
184
|
+
config_text.replace('{{ db_host }}', db_host)
|
|
185
|
+
.replace('{{ db_port }}', db_port)
|
|
186
|
+
.replace('{{ db_user }}', db_user)
|
|
187
|
+
.replace('{{ db_password }}', db_password)
|
|
188
|
+
.replace('{{ lakehouse_postgres_db }}', lakehouse_database)
|
|
189
|
+
)
|
|
190
|
+
elif lakehouse_option in [LakehouseOption.sqlite, LakehouseOption.sqlite_immutable]:
|
|
191
|
+
config_text = config_text.replace('{{ db_dir }}', db_dir.absolute().as_posix())
|
|
192
|
+
|
|
193
|
+
if state_option == StateOption.postgres:
|
|
194
|
+
create_postgres_database(state_database)
|
|
195
|
+
config_text = (
|
|
196
|
+
config_text.replace('{{ db_host }}', db_host)
|
|
197
|
+
.replace('{{ db_port }}', db_port)
|
|
198
|
+
.replace('{{ db_user }}', db_user)
|
|
199
|
+
.replace('{{ db_password }}', db_password)
|
|
200
|
+
.replace('{{ state_postgres_db }}', state_database)
|
|
201
|
+
)
|
|
202
|
+
elif state_option == StateOption.sqlite:
|
|
203
|
+
config_text = config_text.replace('{{ db_dir }}', db_dir.absolute().as_posix())
|
|
204
|
+
|
|
205
|
+
config_path = Path(temp_dir) / 'config.yml'
|
|
206
|
+
config_path.write_text(config_text)
|
|
207
|
+
|
|
208
|
+
with override_settings(APP_PATH=db_dir, CONFIG_PATH=config_path):
|
|
209
|
+
config_manager = AmsdalConfigManager()
|
|
210
|
+
config_manager.load_config(config_path)
|
|
211
|
+
manager = AmsdalManager()
|
|
212
|
+
manager.setup()
|
|
213
|
+
manager.post_setup()
|
|
214
|
+
|
|
215
|
+
try:
|
|
216
|
+
yield manager
|
|
217
|
+
finally:
|
|
218
|
+
manager.teardown()
|
|
219
|
+
AmsdalManager.invalidate()
|
|
220
|
+
AmsdalConfigManager.invalidate()
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
def _migrate_per_loader(executor: DefaultMigrationExecutor, loader: MigrationsLoader) -> None:
|
|
224
|
+
for _migration in loader:
|
|
225
|
+
migration_class = FileMigrationExecutorManager.get_migration_class(_migration)
|
|
226
|
+
migration_class_instance = migration_class()
|
|
227
|
+
|
|
228
|
+
for _operation in migration_class_instance.operations:
|
|
229
|
+
if isinstance(_operation, MigrateData):
|
|
230
|
+
executor.flush_buffer()
|
|
231
|
+
|
|
232
|
+
_operation.forward(executor)
|
|
233
|
+
|
|
234
|
+
executor.flush_buffer()
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
def migrate(app_schemas_path: Path) -> None:
|
|
238
|
+
schemas = MigrationSchemas()
|
|
239
|
+
executor = DefaultMigrationExecutor(schemas)
|
|
240
|
+
_migrate_per_loader(
|
|
241
|
+
executor,
|
|
242
|
+
MigrationsLoader(
|
|
243
|
+
migrations_dir=CORE_MIGRATIONS_PATH,
|
|
244
|
+
module_type=ModuleTypes.CORE,
|
|
245
|
+
),
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
for contrib in settings.CONTRIBS:
|
|
249
|
+
contrib_root_path = contrib_to_module_root_path(contrib)
|
|
250
|
+
_migrate_per_loader(
|
|
251
|
+
executor,
|
|
252
|
+
MigrationsLoader(
|
|
253
|
+
migrations_dir=contrib_root_path / settings.MIGRATIONS_DIRECTORY_NAME,
|
|
254
|
+
module_type=ModuleTypes.CONTRIB,
|
|
255
|
+
module_name=contrib,
|
|
256
|
+
),
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
schema_loader = JsonClassSchemaLoader(app_schemas_path)
|
|
260
|
+
|
|
261
|
+
for class_schema in schema_loader.iter_app_schemas():
|
|
262
|
+
for _operation_data in FileMigrationGenerator.build_operations(
|
|
263
|
+
SchemaTypes.USER,
|
|
264
|
+
class_schema.object_schema,
|
|
265
|
+
None,
|
|
266
|
+
):
|
|
267
|
+
_operation_name = FileMigrationWriter.operation_name_map[_operation_data.type]
|
|
268
|
+
kwargs = {}
|
|
269
|
+
|
|
270
|
+
if _operation_data.old_schema:
|
|
271
|
+
kwargs['old_schema'] = _operation_data.old_schema.model_dump()
|
|
272
|
+
|
|
273
|
+
if _operation_data.new_schema:
|
|
274
|
+
kwargs['new_schema'] = _operation_data.new_schema.model_dump()
|
|
275
|
+
|
|
276
|
+
_operation = getattr(migrations, _operation_name)(
|
|
277
|
+
schema_type=SchemaTypes.USER,
|
|
278
|
+
class_name=_operation_data.class_name,
|
|
279
|
+
**kwargs,
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
_operation.forward(executor)
|
|
283
|
+
|
|
284
|
+
executor.flush_buffer()
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
@contextmanager
|
|
288
|
+
def init_manager_and_migrate(
|
|
289
|
+
db_execution_type: DbExecutionType,
|
|
290
|
+
lakehouse_option: LakehouseOption,
|
|
291
|
+
state_option: StateOption,
|
|
292
|
+
) -> Generator[AmsdalManager, Any, None]:
|
|
293
|
+
with init_manager(
|
|
294
|
+
db_execution_type=db_execution_type,
|
|
295
|
+
lakehouse_option=lakehouse_option,
|
|
296
|
+
state_option=state_option,
|
|
297
|
+
) as manager:
|
|
298
|
+
app_schemas_path = TESTS_DIR / 'src' / 'models'
|
|
299
|
+
manager.build(
|
|
300
|
+
source_models_path=app_schemas_path,
|
|
301
|
+
source_fixtures_path=app_schemas_path,
|
|
302
|
+
source_transactions_path=app_schemas_path,
|
|
303
|
+
source_static_files_path=app_schemas_path,
|
|
304
|
+
source_migrations_path=app_schemas_path,
|
|
305
|
+
)
|
|
306
|
+
manager.authenticate()
|
|
307
|
+
migrate(app_schemas_path)
|
|
308
|
+
manager.init_classes()
|
|
309
|
+
manager.init_class_versions()
|
|
310
|
+
|
|
311
|
+
yield manager
|
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
amsdal/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=kVpm9JYjyIfNiShzkUraCesQMmzxRl2DUamdV87JXBo,74880
|
|
2
|
-
amsdal/__about__.py,sha256=
|
|
2
|
+
amsdal/__about__.py,sha256=KzltRy7ICmd6JfSxNy3q8Bx0qSFOEDLrm7pQLrnNpaE,129
|
|
3
3
|
amsdal/__about__.pyi,sha256=xq3DTJlvvVHWjbZ1EvMjKJBpN-UQO3z1Rulqaz2NN6w,18
|
|
4
4
|
amsdal/__init__.py,sha256=ypS-xvwXkC53iUVSW1dERcXCDWw5hSZhZm9khaTVUJQ,76
|
|
5
5
|
amsdal/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
amsdal/errors.py,sha256=3Pf3wsuAftGu3eD3NNy_lD2POB-Cnd_NBJrhKnyUtkw,647
|
|
7
7
|
amsdal/errors.pyi,sha256=JqEo8dHOLgEacpbBnpnglFc7Ny-Trb2h7T3gI8CpTlA,609
|
|
8
|
-
amsdal/manager.cp310-win_amd64.pyd,sha256=
|
|
8
|
+
amsdal/manager.cp310-win_amd64.pyd,sha256=D78UKAfdc08ZIeKIGn4dAmz0T99D9SnZgbwcwZx4VnA,107520
|
|
9
9
|
amsdal/manager.pyi,sha256=RfQK4MS7xiXEMVERp9ftDZV7lUs432QEZX0o7FioZTo,4747
|
|
10
10
|
amsdal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
amsdal/__migrations__/0000_initial.py,sha256=bCKJF2stg6fRSTMhJwSfEGxwZMX7xsuNj_lPD7z8RF8,10521
|
|
12
12
|
amsdal/__migrations__/0001_datetime_type.py,sha256=hsskIMBOJMuQ_ZR8CgzNP-AkXDg9T4Du-Di38a9vTf4,615
|
|
13
13
|
amsdal/__migrations__/0002_fixture_order.py,sha256=jJNd3iOw20oT9MVRUE0wzGqOpHlPsvn61FbxafxaJZA,1638
|
|
14
|
-
amsdal/cloud/__init__.cp310-win_amd64.pyd,sha256=
|
|
14
|
+
amsdal/cloud/__init__.cp310-win_amd64.pyd,sha256=PnJJpmDlfutvZrr2Vc9xj7QK-TxK_Uvi2ZtVZhwpWTo,19456
|
|
15
15
|
amsdal/cloud/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
-
amsdal/cloud/client.cp310-win_amd64.pyd,sha256=
|
|
16
|
+
amsdal/cloud/client.cp310-win_amd64.pyd,sha256=TeaqqNLbSdzoVAo3pkdFAH4ORdBseo7blNpAEFNFXR4,53248
|
|
17
17
|
amsdal/cloud/client.pyi,sha256=LT78_VfSs1SIIgA__Snlt0S0Y-GU_r7Ufan3BxbFUzA,606
|
|
18
|
-
amsdal/cloud/constants.cp310-win_amd64.pyd,sha256=
|
|
18
|
+
amsdal/cloud/constants.cp310-win_amd64.pyd,sha256=I_Mvvenil8EcT28TqviZLzXvL7tZFVMJrFJRP6feWHo,32256
|
|
19
19
|
amsdal/cloud/constants.pyi,sha256=d85rQXknPSRaUj92i5BopZNBngvNCnHZSY2fgt_45F8,340
|
|
20
|
-
amsdal/cloud/enums.cp310-win_amd64.pyd,sha256=
|
|
20
|
+
amsdal/cloud/enums.cp310-win_amd64.pyd,sha256=Bt5B60N4DjAvBDjPJsMOpXylfs3WOW0fCU4hEKVcRIE,31232
|
|
21
21
|
amsdal/cloud/enums.pyi,sha256=dTp3lCEgJTYiPfP3Ythur2WRXKLNjQ0LuMLGnbLoWJk,499
|
|
22
|
-
amsdal/cloud/models/__init__.cp310-win_amd64.pyd,sha256=
|
|
22
|
+
amsdal/cloud/models/__init__.cp310-win_amd64.pyd,sha256=u8kuot6nEEg1tABqQtx6MDL4J7YeVPgwcTK7Q0jHPdI,19456
|
|
23
23
|
amsdal/cloud/models/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
-
amsdal/cloud/models/base.cp310-win_amd64.pyd,sha256=
|
|
24
|
+
amsdal/cloud/models/base.cp310-win_amd64.pyd,sha256=PsS9tqNenqk9bTjnHt4FkKpeSR8SS2X-HHZEV8U3bro,47616
|
|
25
25
|
amsdal/cloud/models/base.pyi,sha256=MruUgcWZxwmGUuNjEZxE-ISCvIIy3DfiK4pZEQ8A5xM,2434
|
|
26
|
-
amsdal/cloud/services/__init__.cp310-win_amd64.pyd,sha256=
|
|
26
|
+
amsdal/cloud/services/__init__.cp310-win_amd64.pyd,sha256=eGWMUtBfZuhvBcozwQN0XojPfANyxMvAXb0RE6jMgAs,19456
|
|
27
27
|
amsdal/cloud/services/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
amsdal/cloud/services/actions/__init__.cp310-win_amd64.pyd,sha256=
|
|
28
|
+
amsdal/cloud/services/actions/__init__.cp310-win_amd64.pyd,sha256=abkAzU29tuGPjn-ftivNPPZ4OMDzUAH7M9xjG3ayay4,19456
|
|
29
29
|
amsdal/cloud/services/actions/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
amsdal/cloud/services/actions/add_allowlist_ip.cp310-win_amd64.pyd,sha256
|
|
30
|
+
amsdal/cloud/services/actions/add_allowlist_ip.cp310-win_amd64.pyd,sha256=oWgrrJlkBluAFAWm28fSv3BZrYSZlpJaJJzQYmofhWQ,43520
|
|
31
31
|
amsdal/cloud/services/actions/add_allowlist_ip.pyi,sha256=loHwTc7PM_ah6GUT5pOlqVNmmfzlAulfWocsyl9Ijiw,286
|
|
32
|
-
amsdal/cloud/services/actions/add_basic_auth.cp310-win_amd64.pyd,sha256
|
|
32
|
+
amsdal/cloud/services/actions/add_basic_auth.cp310-win_amd64.pyd,sha256=E0sXdAGkC4sAfIJJp3MMS6Vidj26cIvtv3Nj-N7cP3Y,45568
|
|
33
33
|
amsdal/cloud/services/actions/add_basic_auth.pyi,sha256=SnFHBpZ-iCyk4kcRyBiwL74vrrsmbt2cvg4HtIiQurA,410
|
|
34
|
-
amsdal/cloud/services/actions/add_dependency.cp310-win_amd64.pyd,sha256=
|
|
34
|
+
amsdal/cloud/services/actions/add_dependency.cp310-win_amd64.pyd,sha256=0QQGIjxeo5xPljnp5nsZHV_Kz-tcBvRur-DXYYEwo4Q,43520
|
|
35
35
|
amsdal/cloud/services/actions/add_dependency.pyi,sha256=hprY-iPJ9MNWOCMgzbUQWqph2WIGI0rTJonCHQCxGCg,275
|
|
36
|
-
amsdal/cloud/services/actions/add_secret.cp310-win_amd64.pyd,sha256=
|
|
36
|
+
amsdal/cloud/services/actions/add_secret.cp310-win_amd64.pyd,sha256=8WoZ441vsEgTGS5nQQILyjdCcOpQ0zW_mY2Zo7wfFAw,44032
|
|
37
37
|
amsdal/cloud/services/actions/add_secret.pyi,sha256=8MRa21Tb9iabR06v5WH9YALGYoiTDmv57usxhh8GWKE,287
|
|
38
|
-
amsdal/cloud/services/actions/base.cp310-win_amd64.pyd,sha256=
|
|
38
|
+
amsdal/cloud/services/actions/base.cp310-win_amd64.pyd,sha256=aMjgtqghT7h_i7MqM7epl9kfzp8CMguySpEkSOtHMC4,91648
|
|
39
39
|
amsdal/cloud/services/actions/base.pyi,sha256=T3xJniIjYe54V-UzcR4k2oOlfMi5sUHIAAM7e-9Oa5U,2610
|
|
40
|
-
amsdal/cloud/services/actions/create_deploy.cp310-win_amd64.pyd,sha256=
|
|
40
|
+
amsdal/cloud/services/actions/create_deploy.cp310-win_amd64.pyd,sha256=AZO80J8sxHBgs1s1xSiEcQGajT7RuykEvj_dbdIufo4,73728
|
|
41
41
|
amsdal/cloud/services/actions/create_deploy.pyi,sha256=VRNIUs-g1_blzKzlZtS__xfo8tQOmvrLyUs85036O1U,777
|
|
42
|
-
amsdal/cloud/services/actions/create_env.cp310-win_amd64.pyd,sha256=
|
|
42
|
+
amsdal/cloud/services/actions/create_env.cp310-win_amd64.pyd,sha256=_hGyS4qdzh6IioTpGoFIyemwDA1afmYPLLYhB-_1yOM,44032
|
|
43
43
|
amsdal/cloud/services/actions/create_env.pyi,sha256=JH8I5M1mC-SkmWmELyLDKxPh7JMY7AGDHZ8-1ZDHZ7I,343
|
|
44
|
-
amsdal/cloud/services/actions/create_session.cp310-win_amd64.pyd,sha256=
|
|
44
|
+
amsdal/cloud/services/actions/create_session.cp310-win_amd64.pyd,sha256=iTlCxOMk8LbGVgXxVBOWGf1fvPmVwqb-Fv-a7hWUOOc,43520
|
|
45
45
|
amsdal/cloud/services/actions/create_session.pyi,sha256=xHyRVWXXK9OGV0RCYqVV5oXThJQuLGzjwQA5ti1lR4A,287
|
|
46
|
-
amsdal/cloud/services/actions/delete_allowlist_ip.cp310-win_amd64.pyd,sha256=
|
|
46
|
+
amsdal/cloud/services/actions/delete_allowlist_ip.cp310-win_amd64.pyd,sha256=9CArVd4lLPTrxN1ibyjQvxHj0Ct9hVVTCbc-Eqrix04,43520
|
|
47
47
|
amsdal/cloud/services/actions/delete_allowlist_ip.pyi,sha256=V79VwYmFqrVv8JhOdD9mce2R_oqnbXqrwGcFFgUI7rQ,289
|
|
48
|
-
amsdal/cloud/services/actions/delete_basic_auth.cp310-win_amd64.pyd,sha256=
|
|
48
|
+
amsdal/cloud/services/actions/delete_basic_auth.cp310-win_amd64.pyd,sha256=BK34ebqpeWSkMn7NNEp4D5m7DgTTsihlCBhZzvjAM-o,43008
|
|
49
49
|
amsdal/cloud/services/actions/delete_basic_auth.pyi,sha256=zQsWlhfuYmYJ5DUf8Er84jFlyudBz7uee2cxN_M7Fpc,256
|
|
50
|
-
amsdal/cloud/services/actions/delete_dependency.cp310-win_amd64.pyd,sha256=
|
|
50
|
+
amsdal/cloud/services/actions/delete_dependency.cp310-win_amd64.pyd,sha256=boL8n7wRqHjfSdjFobGTlgT6UkcpMd5XcxWCFv-641c,43520
|
|
51
51
|
amsdal/cloud/services/actions/delete_dependency.pyi,sha256=x_uwrN0uPZPVIl81r1Ms4IiOeSS8nc1GsTTNJwaLKL8,278
|
|
52
|
-
amsdal/cloud/services/actions/delete_env.cp310-win_amd64.pyd,sha256=
|
|
52
|
+
amsdal/cloud/services/actions/delete_env.cp310-win_amd64.pyd,sha256=XE8bJ37PVGwx3mgm9tQ2CBghse7asurkWeWHN8sgnXY,44544
|
|
53
53
|
amsdal/cloud/services/actions/delete_env.pyi,sha256=p2P9YeT5482o2J6D77khwg7H-idT4UZtqId8-Ca_KBo,343
|
|
54
|
-
amsdal/cloud/services/actions/delete_secret.cp310-win_amd64.pyd,sha256=
|
|
54
|
+
amsdal/cloud/services/actions/delete_secret.cp310-win_amd64.pyd,sha256=8r_pDkmzqrYDk-_Q3cw-hCmLEBxmQCZH6V2xVnr6XRY,43520
|
|
55
55
|
amsdal/cloud/services/actions/delete_secret.pyi,sha256=0UmpCwoDtqxwQs6m6NofHHolpkHZMSloDEVUFwVM0Kg,271
|
|
56
|
-
amsdal/cloud/services/actions/destroy_deploy.cp310-win_amd64.pyd,sha256=
|
|
56
|
+
amsdal/cloud/services/actions/destroy_deploy.cp310-win_amd64.pyd,sha256=DOMjGQhKfubvegPaHk1w3IOLDgJHi95bvDFmp98S768,41984
|
|
57
57
|
amsdal/cloud/services/actions/destroy_deploy.pyi,sha256=2Z6nxDEzE8PzRXAQug9BykWwC9_EC7_x64a3pOlRBQ4,185
|
|
58
|
-
amsdal/cloud/services/actions/expose_db.cp310-win_amd64.pyd,sha256=
|
|
58
|
+
amsdal/cloud/services/actions/expose_db.cp310-win_amd64.pyd,sha256=8FnLLiadUoUThhk0oWY2B3uBYvgF8ugzYRIBO3Sokho,45056
|
|
59
59
|
amsdal/cloud/services/actions/expose_db.pyi,sha256=9Aios04nBHpiCXjovvnSrJ9Jmq7qqXT3FQZToZ7SKNs,314
|
|
60
|
-
amsdal/cloud/services/actions/get_basic_auth_credentials.cp310-win_amd64.pyd,sha256=
|
|
60
|
+
amsdal/cloud/services/actions/get_basic_auth_credentials.cp310-win_amd64.pyd,sha256=XDMt9Q1fGXo6JIIFjRw52JYKtSEO54Ei_KPNuO_YAjw,44544
|
|
61
61
|
amsdal/cloud/services/actions/get_basic_auth_credentials.pyi,sha256=FWwjKg5R1bfmSDOWhQOAp1u_HsofXaNK53_o4bNAjQM,363
|
|
62
|
-
amsdal/cloud/services/actions/get_monitoring_info.cp310-win_amd64.pyd,sha256=
|
|
62
|
+
amsdal/cloud/services/actions/get_monitoring_info.cp310-win_amd64.pyd,sha256=69BjY91WWNHzLW6xEPDudEWCuYcGmQMfoRobA9lLCRA,44544
|
|
63
63
|
amsdal/cloud/services/actions/get_monitoring_info.pyi,sha256=MGHdfIO_9BeL8-TtURiJVODzdVQA20QRzy7uv4K_D7I,372
|
|
64
|
-
amsdal/cloud/services/actions/list_dependencies.cp310-win_amd64.pyd,sha256=
|
|
64
|
+
amsdal/cloud/services/actions/list_dependencies.cp310-win_amd64.pyd,sha256=5hJk3vXIYs8gwonv5df4G0quC7YKkEDRtsZaR186o50,45056
|
|
65
65
|
amsdal/cloud/services/actions/list_dependencies.pyi,sha256=1EnFVwz5Fm_tFa-k5Ib5PrZ6NixBG0DawJEq9CTArfc,365
|
|
66
|
-
amsdal/cloud/services/actions/list_deploys.cp310-win_amd64.pyd,sha256
|
|
66
|
+
amsdal/cloud/services/actions/list_deploys.cp310-win_amd64.pyd,sha256=Lp53UTDCnOk2lR271F2R4PK-4uOCLca_4fNa4lfi9AY,43520
|
|
67
67
|
amsdal/cloud/services/actions/list_deploys.pyi,sha256=ud_ILuJnQIZPGOf_4dPFB5JJJ-MgLSW6XxG3NpabeOs,282
|
|
68
|
-
amsdal/cloud/services/actions/list_envs.cp310-win_amd64.pyd,sha256=
|
|
68
|
+
amsdal/cloud/services/actions/list_envs.cp310-win_amd64.pyd,sha256=kq6EVKVD8_BLNH2SDOY0h8p1TAkRVZLqJV6nUDU3ETc,43520
|
|
69
69
|
amsdal/cloud/services/actions/list_envs.pyi,sha256=hq3Rhld3mEHJ1IOkVfhx-orooyf7_J1NbPNBW_BrSe0,324
|
|
70
|
-
amsdal/cloud/services/actions/list_secrets.cp310-win_amd64.pyd,sha256=
|
|
70
|
+
amsdal/cloud/services/actions/list_secrets.cp310-win_amd64.pyd,sha256=wHmAOAeRLDt-sgpEpV6UX3NjZptrOzunhTCoVTlpcIY,45568
|
|
71
71
|
amsdal/cloud/services/actions/list_secrets.pyi,sha256=jcQVhj7Rjo0G2NBsF9WvckxdE7olBNlD-tGMRTDgrb0,375
|
|
72
|
-
amsdal/cloud/services/actions/manager.cp310-win_amd64.pyd,sha256=
|
|
72
|
+
amsdal/cloud/services/actions/manager.cp310-win_amd64.pyd,sha256=GzQMd_chogFOjuVfZyLQzTmnphFQI7W53I49zL8ruIM,110080
|
|
73
73
|
amsdal/cloud/services/actions/manager.pyi,sha256=Jk6MF-jbQiB2Th2vxmDa1hz88-6WbjaLmSiVqTxADxQ,5452
|
|
74
|
-
amsdal/cloud/services/actions/signup_action.cp310-win_amd64.pyd,sha256
|
|
74
|
+
amsdal/cloud/services/actions/signup_action.cp310-win_amd64.pyd,sha256=-uXBX5M32lnD1jfT4mE9g3JlSzMDIlwzKntpiUJckvM,41472
|
|
75
75
|
amsdal/cloud/services/actions/signup_action.pyi,sha256=n3QYPzJJhC4u-DkWgquGKT1ySeObn4GSmaZgo-Bxqq8,309
|
|
76
|
-
amsdal/cloud/services/actions/update_deploy.cp310-win_amd64.pyd,sha256=
|
|
76
|
+
amsdal/cloud/services/actions/update_deploy.cp310-win_amd64.pyd,sha256=59Z9Q7zMdu89QrXN8_2ts1PQruyWqd01q0p8NwHxrCw,44032
|
|
77
77
|
amsdal/cloud/services/actions/update_deploy.pyi,sha256=1gGryEiMGbFA0xlLR2PDS5ai1ImorjYoz-Cprbik2rs,301
|
|
78
|
-
amsdal/cloud/services/auth/__init__.cp310-win_amd64.pyd,sha256=
|
|
78
|
+
amsdal/cloud/services/auth/__init__.cp310-win_amd64.pyd,sha256=Z9XAMwR37V_KVoO9HdJUtXd_Rz__0rlYWQZJVQH_NVg,19456
|
|
79
79
|
amsdal/cloud/services/auth/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
|
-
amsdal/cloud/services/auth/base.cp310-win_amd64.pyd,sha256=
|
|
80
|
+
amsdal/cloud/services/auth/base.cp310-win_amd64.pyd,sha256=EkMhwVwHXN8_bjGT1cJCfobvlBH-qMqYiKZCxYAXSB8,38912
|
|
81
81
|
amsdal/cloud/services/auth/base.pyi,sha256=c38fkpQ6UbtQ6bHLpE213cDcu58JzpsW3fyQDqFGUO8,173
|
|
82
|
-
amsdal/cloud/services/auth/credentials.cp310-win_amd64.pyd,sha256=
|
|
82
|
+
amsdal/cloud/services/auth/credentials.cp310-win_amd64.pyd,sha256=18v_rduuvuLHcTnsxd3DcwOJUW0mv8VLp1NOrU2Wt8U,75776
|
|
83
83
|
amsdal/cloud/services/auth/credentials.pyi,sha256=pSX5rcJcu49o5UvG1KeFYRBTlEKN3VfPHFBY5IDG4tM,1136
|
|
84
|
-
amsdal/cloud/services/auth/manager.cp310-win_amd64.pyd,sha256=
|
|
84
|
+
amsdal/cloud/services/auth/manager.cp310-win_amd64.pyd,sha256=7i5XaH_70co3r8cYG1nJ-NkAnYgROzQhydnZ-m75Je4,50176
|
|
85
85
|
amsdal/cloud/services/auth/manager.pyi,sha256=WWe7T13eQ8A8vRNk6pV-fPfCAT6cNZajVM7AFA08XZ0,761
|
|
86
|
-
amsdal/cloud/services/auth/signup_service.cp310-win_amd64.pyd,sha256=
|
|
86
|
+
amsdal/cloud/services/auth/signup_service.cp310-win_amd64.pyd,sha256=RT5eSh5jcsQDFq3UEgQcAUGv65wgIaGewuGUafzGJv4,58880
|
|
87
87
|
amsdal/cloud/services/auth/signup_service.pyi,sha256=cVA-X7ZhB5g7kkfIfeRUaROPZpu4U2LmmCdQap0SCHg,537
|
|
88
|
-
amsdal/cloud/services/auth/token.cp310-win_amd64.pyd,sha256=
|
|
88
|
+
amsdal/cloud/services/auth/token.cp310-win_amd64.pyd,sha256=AlubtLoFG0ASJQnw1414IsN-MIJD2i8uoxgQ2yQ49Ng,65024
|
|
89
89
|
amsdal/cloud/services/auth/token.pyi,sha256=KW9Ea7DeMHtw_SZHaYhec5SHTvm4YIxpmDRwp1Muy3A,647
|
|
90
90
|
amsdal/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
91
|
amsdal/configs/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -97,7 +97,7 @@ amsdal/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
97
97
|
amsdal/context/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
98
|
amsdal/context/manager.py,sha256=0M4RTDmxM52TY9UkbbumMdx4RX2UJWvlPJK5Xzu6Eg8,750
|
|
99
99
|
amsdal/context/manager.pyi,sha256=IYF58REJLEPhOYk8hA-Zht_HSI8RvZDGJWQ-96LadeQ,369
|
|
100
|
-
amsdal/contrib/__init__.cp310-win_amd64.pyd,sha256=
|
|
100
|
+
amsdal/contrib/__init__.cp310-win_amd64.pyd,sha256=AqvYIWrANf5sUgkmCo5ihp5k-_WgK4cgktvbRCF_qpM,19456
|
|
101
101
|
amsdal/contrib/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
102
102
|
amsdal/contrib/app_config.py,sha256=5CQQRNmyxy581Py0wxdrzlTTfntDQA5hhP0xa83wNF8,138
|
|
103
103
|
amsdal/contrib/app_config.pyi,sha256=eGXOXlkuTFvl85K6zVZsdqRpSL3bTu7YIwUhf28BU2M,155
|
|
@@ -124,7 +124,7 @@ amsdal/contrib/auth/models/permission/fixtures/basic_permissions.json,sha256=qXV
|
|
|
124
124
|
amsdal/contrib/auth/models/permission/modifiers/display_name.py,sha256=QW_VYi5p7mnOTkVJhg7QwzzVwiOMEvXvRUTrbc7Y7rA,139
|
|
125
125
|
amsdal/contrib/auth/models/user/model.json,sha256=38U_e69FWRKmgJGyELWYOY7q7aVZsLfV5Hb-viAOpzg,424
|
|
126
126
|
amsdal/contrib/auth/models/user/hooks/post_init.py,sha256=rapUoba8CX5UZ2Z-F_cDy9ynBQhEpX1AVxnWnNXj6Vo,1216
|
|
127
|
-
amsdal/contrib/auth/models/user/hooks/pre_create.py,sha256=
|
|
127
|
+
amsdal/contrib/auth/models/user/hooks/pre_create.py,sha256=ht0LX9qJigsIhM5riXQr0aVXqoMjgcpEnIDdJHmBHkA,73
|
|
128
128
|
amsdal/contrib/auth/models/user/modifiers/display_name.py,sha256=bKxSiztK6_LY9__emko0nQcThQ6MG4PXgZ8vfjF3ne8,337
|
|
129
129
|
amsdal/contrib/frontend_configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
130
130
|
amsdal/contrib/frontend_configs/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -157,39 +157,39 @@ amsdal/contrib/frontend_configs/models/frontend_model_config/model.json,sha256=6
|
|
|
157
157
|
amsdal/contrib/frontend_configs/models/frontend_model_config/fixtures/permissions.json,sha256=cnv_GbhIex6GalwmEKLemkaLvgwHE2ZNPSJfEIWurYY,667
|
|
158
158
|
amsdal/contrib/frontend_configs/models/frontent_config_control_action/model.json,sha256=ZzYurM5zkjsyOFU3VLn_mU3D10HrdKTYCB1wEJE41tc,1440
|
|
159
159
|
amsdal/contrib/frontend_configs/models/frontent_config_control_action/properties/action_validate.py,sha256=xTzvmfU9-7JUoEhXJ13gPqJHInmhaEbcF51dcMO0mhA,558
|
|
160
|
-
amsdal/fixtures/__init__.cp310-win_amd64.pyd,sha256=
|
|
160
|
+
amsdal/fixtures/__init__.cp310-win_amd64.pyd,sha256=Dst_kP4fA3oC8W6RswqBo5K0vf33_wxBWuuwShrxzNE,19456
|
|
161
161
|
amsdal/fixtures/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
162
|
-
amsdal/fixtures/manager.cp310-win_amd64.pyd,sha256=
|
|
162
|
+
amsdal/fixtures/manager.cp310-win_amd64.pyd,sha256=qCp55Q72_6G8r8TAxDTqdxzLlYmdf7xYv-Wub6l3O3U,131072
|
|
163
163
|
amsdal/fixtures/manager.pyi,sha256=huTe0Nej_v4_K67LdE0-E-_bMwcQyEnxJNcbKkJCxiQ,1740
|
|
164
|
-
amsdal/migration/__init__.cp310-win_amd64.pyd,sha256=
|
|
164
|
+
amsdal/migration/__init__.cp310-win_amd64.pyd,sha256=YbQB3Pxrfljc9GKRXf-w8atVeKmTYy2fMyXQCu41g8o,19456
|
|
165
165
|
amsdal/migration/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
166
|
-
amsdal/migration/base_migration_schemas.cp310-win_amd64.pyd,sha256=
|
|
166
|
+
amsdal/migration/base_migration_schemas.cp310-win_amd64.pyd,sha256=gpqr1uzdLDn5Bpj4Hy2klp31lFKPBYi5ffyMrL0D81E,145920
|
|
167
167
|
amsdal/migration/base_migration_schemas.pyi,sha256=rMPE_Q_LxfxAsvGU3az5oztoKjI59oqRDq6qsFl1ETA,2405
|
|
168
|
-
amsdal/migration/data_classes.cp310-win_amd64.pyd,sha256=
|
|
168
|
+
amsdal/migration/data_classes.cp310-win_amd64.pyd,sha256=Ay35MGZBl7ggzSLt-R13Otg6nGTI_rZ21-iwDgVEPuA,55808
|
|
169
169
|
amsdal/migration/data_classes.pyi,sha256=XXG99F6vmtPMr5WvmXfRDfhiAeO5G4NkZwSfD2Lt1xU,2281
|
|
170
|
-
amsdal/migration/file_migration_executor.cp310-win_amd64.pyd,sha256=
|
|
170
|
+
amsdal/migration/file_migration_executor.cp310-win_amd64.pyd,sha256=mfcuoThezZ6aWZtpvwSGTUxlTuU41kEQtWYyCcvwUNM,106496
|
|
171
171
|
amsdal/migration/file_migration_executor.pyi,sha256=oaaXkES1mOokPyIjS6xCyMgakhUtJuG0kgB_mG4UlMA,2671
|
|
172
|
-
amsdal/migration/file_migration_generator.cp310-win_amd64.pyd,sha256=
|
|
172
|
+
amsdal/migration/file_migration_generator.cp310-win_amd64.pyd,sha256=AVkxgyd_8GVH3Gfvfi9hw7lapjktnGbmR0EncORUYps,119808
|
|
173
173
|
amsdal/migration/file_migration_generator.pyi,sha256=1QqocJnTgdj4lKriEOVx7sJm16uvh6bUsjdzW3Qx2YI,3053
|
|
174
|
-
amsdal/migration/file_migration_store.cp310-win_amd64.pyd,sha256=
|
|
174
|
+
amsdal/migration/file_migration_store.cp310-win_amd64.pyd,sha256=qU6Cq9eeCzOWHiHVsfcYlyDP5kHgkjnf4fxSjdVKtMU,110080
|
|
175
175
|
amsdal/migration/file_migration_store.pyi,sha256=H5sQb7vLwLmYp6aZVq1PSRYr-4fwBelV16w9NWXws_g,1732
|
|
176
|
-
amsdal/migration/file_migration_writer.cp310-win_amd64.pyd,sha256=
|
|
176
|
+
amsdal/migration/file_migration_writer.cp310-win_amd64.pyd,sha256=EWgYKRYkLjoyDvjXLzwtr7CGXCLu9MlSjSXIwGDnTec,69120
|
|
177
177
|
amsdal/migration/file_migration_writer.pyi,sha256=M1_PKr8d_Z_dnOY9RuuqAO5G8g-E6RwgE7TkYV4G-ds,746
|
|
178
|
-
amsdal/migration/migrations.cp310-win_amd64.pyd,sha256=
|
|
178
|
+
amsdal/migration/migrations.cp310-win_amd64.pyd,sha256=7AzoMux1Q9mdR3wfLzuP1I0Wg4wxygVw7ilNx--kDl0,77312
|
|
179
179
|
amsdal/migration/migrations.pyi,sha256=UPq9itWhmAYqJfnKJzKT8o7jD41KEjoDrYCx8iU73N0,2693
|
|
180
|
-
amsdal/migration/migrations_loader.cp310-win_amd64.pyd,sha256=
|
|
180
|
+
amsdal/migration/migrations_loader.cp310-win_amd64.pyd,sha256=NmJbGF9HcRti_L2OxH3NXfTLYiy-SFOf-KRwc4mAuPs,56320
|
|
181
181
|
amsdal/migration/migrations_loader.pyi,sha256=mmEKjFl5aQKliCm9At3vVk1WwMghpCTB-alkR_UqRow,708
|
|
182
|
-
amsdal/migration/schemas_loaders.cp310-win_amd64.pyd,sha256=
|
|
182
|
+
amsdal/migration/schemas_loaders.cp310-win_amd64.pyd,sha256=ibJnhvHRUMz3pAAoRjtCIusCJKS8aM_SP1InVclA1N0,79360
|
|
183
183
|
amsdal/migration/schemas_loaders.pyi,sha256=URZy1YOB_REy2ksYJ5C-DSkmPqyek5DmWK3xu5ODa14,1221
|
|
184
|
-
amsdal/migration/utils.cp310-win_amd64.pyd,sha256=
|
|
184
|
+
amsdal/migration/utils.cp310-win_amd64.pyd,sha256=qL-GUhm96BRF3O8B7X5RHk10g8VFyKaGUJ2N6omRvOI,89088
|
|
185
185
|
amsdal/migration/utils.pyi,sha256=fQoeU5Be1kU8ReqM2HifsbLK9tkysEEltqJViMfAF2Q,1427
|
|
186
|
-
amsdal/migration/executors/__init__.cp310-win_amd64.pyd,sha256=
|
|
186
|
+
amsdal/migration/executors/__init__.cp310-win_amd64.pyd,sha256=7r-6b0l_VzZd2r2yUXTvCRrxc6vntx8jx2_2yvzNpcw,19456
|
|
187
187
|
amsdal/migration/executors/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
188
|
-
amsdal/migration/executors/base.cp310-win_amd64.pyd,sha256=
|
|
188
|
+
amsdal/migration/executors/base.cp310-win_amd64.pyd,sha256=GOwb0Yusyb3qUk7RH8tn_RTZyx2ZU8JggEY-X2Lgrbs,94208
|
|
189
189
|
amsdal/migration/executors/base.pyi,sha256=4C41V2m3xd35MoBEB3KrFd2_aovuSY8ZBYg07rnMTgQ,2155
|
|
190
|
-
amsdal/migration/executors/default_executor.cp310-win_amd64.pyd,sha256=
|
|
190
|
+
amsdal/migration/executors/default_executor.cp310-win_amd64.pyd,sha256=qng39wp5h0Mqet5pfNEVj1zhXekYgG0GDLpZwEy0qac,147456
|
|
191
191
|
amsdal/migration/executors/default_executor.pyi,sha256=qRd9oe6-JIcij-NoyAI3iI--i7Zs-XStW0aZZYomCxk,1926
|
|
192
|
-
amsdal/migration/executors/state_executor.cp310-win_amd64.pyd,sha256=
|
|
192
|
+
amsdal/migration/executors/state_executor.cp310-win_amd64.pyd,sha256=H8LQebwPoLCI6P9w-D_C5Yc2Bi9Xmepfjdbqlwj66Rg,65024
|
|
193
193
|
amsdal/migration/executors/state_executor.pyi,sha256=C4LL_rrC86GjCP_iitntRMM1W1eO-HzRo8hiO4p5scw,1017
|
|
194
194
|
amsdal/migration/templates/data_migration.tmpl,sha256=vygjPQZ1PweuxQ__sbnEKVoKMTuv-JBvMK9DWENkojM,454
|
|
195
195
|
amsdal/migration/templates/dict_validator.tmpl,sha256=7sep4K1NiJgR2odyAIBmaBf0Mlmb9mXNQFTCXLD54Qk,177
|
|
@@ -197,19 +197,19 @@ amsdal/migration/templates/migration.tmpl,sha256=YU_glribPFcCYUPhUnrbm2_lQyYitWJ
|
|
|
197
197
|
amsdal/migration/templates/model_class.tmpl,sha256=KaZ6ZfJjZ7UI73dj37iT5IDunQAwuM2_11IC4g8SAv8,233
|
|
198
198
|
amsdal/migration/templates/model_class_layout.tmpl,sha256=nfbJlY2gt8KG6AFR5BD3n0yCwc2TQVri8FDo6iQDWoE,790
|
|
199
199
|
amsdal/migration/templates/options_validator.tmpl,sha256=yqZcwO3yOj-_FdMD2xmiz2RiFqyE1yjiaxde5h9f_Mk,209
|
|
200
|
-
amsdal/mixins/__init__.cp310-win_amd64.pyd,sha256=
|
|
200
|
+
amsdal/mixins/__init__.cp310-win_amd64.pyd,sha256=90vajWhwEBSqrMb0XOlPNtPBIyrmWk18wqgL4WEV0aM,19456
|
|
201
201
|
amsdal/mixins/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
202
|
-
amsdal/mixins/build_mixin.cp310-win_amd64.pyd,sha256=
|
|
202
|
+
amsdal/mixins/build_mixin.cp310-win_amd64.pyd,sha256=2GIuqxs8EtWNzIoTyIBFq9yNT3YGUIMjb-0OxQbkbbU,102400
|
|
203
203
|
amsdal/mixins/build_mixin.pyi,sha256=ImqVy0G3u0hKRa-0V-VIEMAh_MUWQ9pPVh5qSMdPxrA,1057
|
|
204
|
-
amsdal/mixins/class_versions_mixin.cp310-win_amd64.pyd,sha256=
|
|
204
|
+
amsdal/mixins/class_versions_mixin.cp310-win_amd64.pyd,sha256=r-KEUMbl5CeBRU3FaltiztYrAP_qosn1u-lBFykiOPw,77312
|
|
205
205
|
amsdal/mixins/class_versions_mixin.pyi,sha256=lmiVrrjpMFqZq3GIRqRWQAuikJj0qutzVDCNJK2If4w,455
|
|
206
|
-
amsdal/operations/__init__.cp310-win_amd64.pyd,sha256=
|
|
206
|
+
amsdal/operations/__init__.cp310-win_amd64.pyd,sha256=g9SC9JQXiLmVJEnuOnPERNmxwyPWfYaSYik2-LMx55c,19456
|
|
207
207
|
amsdal/operations/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
208
|
-
amsdal/operations/manager.cp310-win_amd64.pyd,sha256
|
|
208
|
+
amsdal/operations/manager.cp310-win_amd64.pyd,sha256=xoFJf3XCtw6HJ-G0ZFJndgWGhkrCH88xJQEB3MP8J4Y,131072
|
|
209
209
|
amsdal/operations/manager.pyi,sha256=-yxSvP_rGyr_oIogygpHrPMIg73m8LWz-fY_WLvZUmA,1987
|
|
210
210
|
amsdal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
211
211
|
amsdal/schemas/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
212
|
-
amsdal/schemas/manager.cp310-win_amd64.pyd,sha256=
|
|
212
|
+
amsdal/schemas/manager.cp310-win_amd64.pyd,sha256=5edkPiQS3hnWPuLj0LTTIbGyDZzLoapcu02HvRpxbyc,62976
|
|
213
213
|
amsdal/schemas/manager.py,sha256=8gLX2pXCdEbzjuYAhiOhVPXKG4xUx2l7MnBMkVFhDOI,2666
|
|
214
214
|
amsdal/schemas/manager.pyi,sha256=df2wsvatj5NWukNuP6sRXMy5GF9VRKdNg9sOiJoPQrY,800
|
|
215
215
|
amsdal/schemas/core/class_object/model.json,sha256=KA_QKEUB1S4rqHM1GyGiOw4COQ8FCKdUjSmga5tQ4IY,583
|
|
@@ -238,17 +238,20 @@ amsdal/schemas/types/dictionary/model.json,sha256=vEJrhthRSKhhNROWvgGfwidp1yMXJi
|
|
|
238
238
|
amsdal/schemas/types/number/model.json,sha256=4GSLWvGGLSug8ElA324ZVVHQgGG2W2lIhCQiIcenwXs,137
|
|
239
239
|
amsdal/schemas/types/object/model.json,sha256=sCHu1so5eUDf254OYzaLSAwHyjWN80AS32uLzzbQVNc,1018
|
|
240
240
|
amsdal/schemas/types/string/model.json,sha256=RX2h7G_x4UesXZkS5IayJhEj7sT3cQIk9tdZWImG67I,135
|
|
241
|
-
amsdal/services/__init__.cp310-win_amd64.pyd,sha256=
|
|
241
|
+
amsdal/services/__init__.cp310-win_amd64.pyd,sha256=Y7YR0OXEryI9XANQfjPzWRiHqH-JMPRf0ifgAJ2wAwE,19456
|
|
242
242
|
amsdal/services/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
243
|
-
amsdal/services/transaction_execution.cp310-win_amd64.pyd,sha256
|
|
243
|
+
amsdal/services/transaction_execution.cp310-win_amd64.pyd,sha256=mzFGacjzfWvI8sqALH69zPRsTYgCLVhpIhbP7To13bs,115200
|
|
244
244
|
amsdal/services/transaction_execution.pyi,sha256=351rB3AhwpwJL4cV9DnexIF2aZi0xtgy4nfsXL6_Mas,1404
|
|
245
245
|
amsdal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
246
246
|
amsdal/utils/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
247
247
|
amsdal/utils/contrib_paths.py,sha256=9U4bhahUofxyACs41733eeeq5Eu6Bqr6NdugKFSDBaw,435
|
|
248
248
|
amsdal/utils/contrib_paths.pyi,sha256=D4Tty_nl8xU9gH7R50AwMVbOL1y0PLlzj4diE-ivvZk,136
|
|
249
|
-
amsdal
|
|
250
|
-
amsdal
|
|
251
|
-
amsdal
|
|
252
|
-
amsdal-0.1.
|
|
253
|
-
amsdal-0.1.
|
|
254
|
-
amsdal-0.1.
|
|
249
|
+
amsdal/utils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
|
+
amsdal/utils/tests/enums.py,sha256=VyHqsTsFiUbe17I_QYCPVNHR_nCHmtBz0hyXWGiRqhc,408
|
|
251
|
+
amsdal/utils/tests/helpers.py,sha256=dG4As8IR-75CvRjIGdwqvymH-c8jaQs_advca6UW0-g,11138
|
|
252
|
+
amsdal-0.1.25.dist-info/LICENSE.txt,sha256=V_jFl3XPnSEoTM0teoMKDy5i1xmso1IcmjXdf6z_yYY,27462
|
|
253
|
+
amsdal-0.1.25.dist-info/METADATA,sha256=oC3zMyEqpGphlYB6lxfK2Jn1xdjRAOcvUN3NzDY8CQw,57656
|
|
254
|
+
amsdal-0.1.25.dist-info/WHEEL,sha256=5JPYeYl5ZdvdSkrGS4u21mmpPzpFx42qrXOSIgWf4pg,102
|
|
255
|
+
amsdal-0.1.25.dist-info/license_check.py,sha256=8i16Eo7BasaTFAEwys1mHT4NjpB5otePTAevladHxwY,1024
|
|
256
|
+
amsdal-0.1.25.dist-info/top_level.txt,sha256=VPQLnOP3mf7q0JuQ_vPZYQyPNGKd_uc6ouz-hZRkhSk,7
|
|
257
|
+
amsdal-0.1.25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|