amsdal 0.5.4__cp311-cp311-macosx_10_9_universal2.whl → 0.5.5__cp311-cp311-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.
- amsdal/__about__.py +1 -1
- amsdal/cloud/__init__.cpython-311-darwin.so +0 -0
- amsdal/cloud/client.cpython-311-darwin.so +0 -0
- amsdal/cloud/constants.cpython-311-darwin.so +0 -0
- amsdal/cloud/enums.cpython-311-darwin.so +0 -0
- amsdal/cloud/models/__init__.cpython-311-darwin.so +0 -0
- amsdal/cloud/models/base.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/__init__.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/__init__.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/add_allowlist_ip.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/add_basic_auth.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/add_dependency.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/add_secret.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/base.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/create_deploy.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/create_env.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/create_session.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_allowlist_ip.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_basic_auth.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_dependency.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_env.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/delete_secret.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/destroy_deploy.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/expose_db.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/get_basic_auth_credentials.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/get_monitoring_info.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/list_dependencies.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/list_deploys.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/list_envs.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/list_secrets.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/manager.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/signup_action.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/actions/update_deploy.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/__init__.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/base.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/credentials.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/manager.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/signup_service.cpython-311-darwin.so +0 -0
- amsdal/cloud/services/auth/token.cpython-311-darwin.so +0 -0
- amsdal/contrib/__init__.cpython-311-darwin.so +0 -0
- amsdal/contrib/auth/lifecycle/consumer.pyi +1 -1
- amsdal/contrib/auth/models/login_session.pyi +4 -4
- amsdal/contrib/auth/models/permission.pyi +3 -3
- amsdal/contrib/auth/models/user.pyi +6 -5
- amsdal/contrib/frontend_configs/models/frontend_model_config.pyi +3 -3
- amsdal/fixtures/__init__.cpython-311-darwin.so +0 -0
- amsdal/fixtures/manager.cpython-311-darwin.so +0 -0
- amsdal/fixtures/manager.pyi +1 -1
- amsdal/fixtures/utils.cpython-311-darwin.so +0 -0
- amsdal/manager.cpython-311-darwin.so +0 -0
- amsdal/mixins/__init__.cpython-311-darwin.so +0 -0
- amsdal/mixins/class_versions_mixin.cpython-311-darwin.so +0 -0
- amsdal/models/core/class_object.pyi +8 -8
- amsdal/models/core/file.pyi +4 -4
- amsdal/models/core/fixture.pyi +6 -6
- amsdal/models/types/object.pyi +9 -9
- amsdal/schemas/manager.cpython-311-darwin.so +0 -0
- amsdal/services/__init__.cpython-311-darwin.so +0 -0
- amsdal/services/transaction_execution.cpython-311-darwin.so +0 -0
- amsdal/utils/tests/enums.py +0 -2
- amsdal/utils/tests/helpers.py +213 -381
- amsdal/utils/tests/migrations.py +179 -0
- {amsdal-0.5.4.dist-info → amsdal-0.5.5.dist-info}/METADATA +10 -6
- {amsdal-0.5.4.dist-info → amsdal-0.5.5.dist-info}/RECORD +67 -66
- {amsdal-0.5.4.dist-info → amsdal-0.5.5.dist-info}/WHEEL +1 -1
- {amsdal-0.5.4.dist-info → amsdal-0.5.5.dist-info}/licenses/LICENSE.txt +0 -0
- {amsdal-0.5.4.dist-info → amsdal-0.5.5.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,7 +1,7 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from amsdal.contrib.auth.errors import AuthenticationError as AuthenticationError
|
3
3
|
from amsdal_data.transactions.decorators import async_transaction, transaction
|
4
|
-
from amsdal_models.classes.model import Model
|
4
|
+
from amsdal_models.classes.model import Model as Model
|
5
5
|
from amsdal_utils.lifecycle.consumer import LifecycleConsumer
|
6
6
|
from typing import Any
|
7
7
|
|
@@ -3,10 +3,10 @@ from amsdal_utils.models.enums import ModuleType
|
|
3
3
|
from typing import Any, ClassVar
|
4
4
|
|
5
5
|
class LoginSession(Model):
|
6
|
-
__module_type__: ClassVar[ModuleType]
|
7
|
-
email: str
|
8
|
-
password: str
|
9
|
-
token: str | None
|
6
|
+
__module_type__: ClassVar[ModuleType]
|
7
|
+
email: str
|
8
|
+
password: str
|
9
|
+
token: str | None
|
10
10
|
@property
|
11
11
|
def display_name(self) -> str:
|
12
12
|
"""
|
@@ -3,9 +3,9 @@ from amsdal_utils.models.enums import ModuleType
|
|
3
3
|
from typing import ClassVar
|
4
4
|
|
5
5
|
class Permission(Model):
|
6
|
-
__module_type__: ClassVar[ModuleType]
|
7
|
-
model: str
|
8
|
-
action: str
|
6
|
+
__module_type__: ClassVar[ModuleType]
|
7
|
+
model: str
|
8
|
+
action: str
|
9
9
|
@property
|
10
10
|
def display_name(self) -> str:
|
11
11
|
"""
|
@@ -1,13 +1,14 @@
|
|
1
1
|
from amsdal.contrib.auth.models.permission import *
|
2
|
+
from _typeshed import Incomplete
|
2
3
|
from amsdal_models.classes.model import Model
|
3
4
|
from amsdal_utils.models.enums import ModuleType
|
4
5
|
from typing import Any, ClassVar
|
5
6
|
|
6
7
|
class User(Model):
|
7
|
-
__module_type__: ClassVar[ModuleType]
|
8
|
-
email: str
|
9
|
-
password: bytes
|
10
|
-
permissions: list['Permission'] | None
|
8
|
+
__module_type__: ClassVar[ModuleType]
|
9
|
+
email: str
|
10
|
+
password: bytes
|
11
|
+
permissions: list['Permission'] | None
|
11
12
|
def __repr__(self) -> str: ...
|
12
13
|
def __str__(self) -> str: ...
|
13
14
|
async def apre_update(self) -> None: ...
|
@@ -21,7 +22,7 @@ class User(Model):
|
|
21
22
|
Returns:
|
22
23
|
str: The email of the user.
|
23
24
|
"""
|
24
|
-
_object_id
|
25
|
+
_object_id: Incomplete
|
25
26
|
def post_init(self, *, is_new_object: bool, kwargs: dict[str, Any]) -> None:
|
26
27
|
"""
|
27
28
|
Post-initializes a user object by validating email and password, and hashing the password.
|
@@ -4,6 +4,6 @@ from amsdal_utils.models.enums import ModuleType
|
|
4
4
|
from typing import ClassVar
|
5
5
|
|
6
6
|
class FrontendModelConfig(Model):
|
7
|
-
__module_type__: ClassVar[ModuleType]
|
8
|
-
class_name: str
|
9
|
-
control: FrontendControlConfig | None
|
7
|
+
__module_type__: ClassVar[ModuleType]
|
8
|
+
class_name: str
|
9
|
+
control: FrontendControlConfig | None
|
Binary file
|
Binary file
|
amsdal/fixtures/manager.pyi
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
2
|
from amsdal.fixtures.utils import process_fixture_value as process_fixture_value
|
3
|
-
from amsdal_models.classes.model import Model
|
3
|
+
from amsdal_models.classes.model import Model as Model
|
4
4
|
from collections.abc import Generator
|
5
5
|
from pathlib import Path
|
6
6
|
from pydantic import BaseModel
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -5,14 +5,14 @@ from amsdal_utils.models.enums import ModuleType
|
|
5
5
|
from typing import Any, ClassVar
|
6
6
|
|
7
7
|
class ClassObject(Model):
|
8
|
-
__module_type__: ClassVar[ModuleType]
|
9
|
-
title: str
|
10
|
-
type: str
|
11
|
-
module_type: str
|
12
|
-
properties: dict[str, ClassProperty | None] | None
|
13
|
-
required: list[str] | None
|
14
|
-
custom_code: str | None
|
15
|
-
storage_metadata: StorageMetadata | None
|
8
|
+
__module_type__: ClassVar[ModuleType]
|
9
|
+
title: str
|
10
|
+
type: str
|
11
|
+
module_type: str
|
12
|
+
properties: dict[str, ClassProperty | None] | None
|
13
|
+
required: list[str] | None
|
14
|
+
custom_code: str | None
|
15
|
+
storage_metadata: StorageMetadata | None
|
16
16
|
@classmethod
|
17
17
|
def _non_empty_keys_properties(cls, value: Any) -> Any: ...
|
18
18
|
@property
|
amsdal/models/core/file.pyi
CHANGED
@@ -4,10 +4,10 @@ from pathlib import Path
|
|
4
4
|
from typing import BinaryIO, ClassVar
|
5
5
|
|
6
6
|
class File(Model):
|
7
|
-
__module_type__: ClassVar[ModuleType]
|
8
|
-
filename: str
|
9
|
-
data: bytes
|
10
|
-
size: float | None
|
7
|
+
__module_type__: ClassVar[ModuleType]
|
8
|
+
filename: str
|
9
|
+
data: bytes
|
10
|
+
size: float | None
|
11
11
|
def __repr__(self) -> str: ...
|
12
12
|
def __str__(self) -> str: ...
|
13
13
|
async def apre_create(self) -> None:
|
amsdal/models/core/fixture.pyi
CHANGED
@@ -4,11 +4,11 @@ from amsdal_utils.models.enums import ModuleType
|
|
4
4
|
from typing import Any, ClassVar
|
5
5
|
|
6
6
|
class Fixture(Model):
|
7
|
-
__module_type__: ClassVar[ModuleType]
|
8
|
-
__constraints__: ClassVar[list[UniqueConstraint]]
|
9
|
-
class_name: str | None
|
10
|
-
order: float | None
|
11
|
-
external_id: str
|
12
|
-
data: dict[str, Any | None]
|
7
|
+
__module_type__: ClassVar[ModuleType]
|
8
|
+
__constraints__: ClassVar[list[UniqueConstraint]]
|
9
|
+
class_name: str | None
|
10
|
+
order: float | None
|
11
|
+
external_id: str
|
12
|
+
data: dict[str, Any | None]
|
13
13
|
@classmethod
|
14
14
|
def _non_empty_keys_data(cls, value: Any) -> Any: ...
|
amsdal/models/types/object.pyi
CHANGED
@@ -3,14 +3,14 @@ from amsdal_utils.models.enums import ModuleType
|
|
3
3
|
from typing import Any, ClassVar
|
4
4
|
|
5
5
|
class Object(Model):
|
6
|
-
__module_type__: ClassVar[ModuleType]
|
7
|
-
title: str
|
8
|
-
type: str
|
9
|
-
module_type: str
|
10
|
-
default: Any | None
|
11
|
-
properties: dict[str, Any | None] | None
|
12
|
-
required: list[str] | None
|
13
|
-
custom_code: str | None
|
14
|
-
meta_class: str | None
|
6
|
+
__module_type__: ClassVar[ModuleType]
|
7
|
+
title: str
|
8
|
+
type: str
|
9
|
+
module_type: str
|
10
|
+
default: Any | None
|
11
|
+
properties: dict[str, Any | None] | None
|
12
|
+
required: list[str] | None
|
13
|
+
custom_code: str | None
|
14
|
+
meta_class: str | None
|
15
15
|
@classmethod
|
16
16
|
def _non_empty_keys_properties(cls, value: Any) -> Any: ...
|
Binary file
|
Binary file
|
Binary file
|