maleo-identity 0.0.89__py3-none-any.whl → 0.0.91__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of maleo-identity might be problematic. Click here for more details.
- maleo/identity/constants/organization_role.py +9 -9
- maleo/identity/constants/user.py +4 -4
- maleo/identity/constants/user_organization.py +25 -25
- maleo/identity/constants/user_organization_role.py +16 -16
- maleo/identity/constants/user_system_role.py +2 -2
- maleo/identity/dtos/data/user_profile.py +4 -0
- maleo/identity/dtos/data/user_system_role.py +9 -0
- maleo/identity/enums/organization.py +1 -1
- maleo/identity/enums/organization_role.py +1 -1
- maleo/identity/enums/user.py +1 -1
- maleo/identity/enums/user_organization.py +1 -1
- maleo/identity/enums/user_organization_role.py +1 -1
- maleo/identity/enums/user_profile.py +1 -1
- maleo/identity/enums/user_system_role.py +1 -1
- maleo/identity/mixins/organization.py +3 -3
- maleo/identity/mixins/organization_role.py +3 -3
- maleo/identity/mixins/user.py +3 -3
- maleo/identity/mixins/user_organization.py +3 -3
- maleo/identity/mixins/user_organization_role.py +3 -3
- maleo/identity/mixins/user_profile.py +3 -3
- maleo/identity/mixins/user_system_role.py +3 -3
- maleo/identity/schemas/parameter/client/organization.py +5 -5
- maleo/identity/schemas/parameter/client/organization_role.py +5 -5
- maleo/identity/schemas/parameter/client/user.py +3 -3
- maleo/identity/schemas/parameter/client/user_organization.py +7 -7
- maleo/identity/schemas/parameter/client/user_organization_role.py +5 -5
- maleo/identity/schemas/parameter/client/user_profile.py +3 -3
- maleo/identity/schemas/parameter/client/user_system_role.py +5 -5
- maleo/identity/schemas/parameter/general/organization.py +11 -11
- maleo/identity/schemas/parameter/general/organization_role.py +3 -3
- maleo/identity/schemas/parameter/general/user.py +12 -12
- maleo/identity/schemas/parameter/general/user_organization.py +4 -4
- maleo/identity/schemas/parameter/general/user_organization_role.py +3 -3
- maleo/identity/schemas/parameter/general/user_profile.py +10 -10
- maleo/identity/schemas/parameter/general/user_system_role.py +4 -4
- maleo/identity/schemas/parameter/service/organization.py +4 -4
- maleo/identity/schemas/parameter/service/organization_role.py +4 -4
- maleo/identity/schemas/parameter/service/user.py +3 -3
- maleo/identity/schemas/parameter/service/user_organization_role.py +4 -4
- maleo/identity/schemas/parameter/service/user_profile.py +3 -3
- maleo/identity/schemas/parameter/service/user_system_role.py +4 -4
- {maleo_identity-0.0.89.dist-info → maleo_identity-0.0.91.dist-info}/METADATA +2 -3
- {maleo_identity-0.0.89.dist-info → maleo_identity-0.0.91.dist-info}/RECORD +45 -44
- {maleo_identity-0.0.89.dist-info → maleo_identity-0.0.91.dist-info}/WHEEL +0 -0
- {maleo_identity-0.0.89.dist-info → maleo_identity-0.0.91.dist-info}/top_level.txt +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
from typing import Dict, List
|
|
2
2
|
from maleo.soma.schemas.resource import Resource, ResourceIdentifier
|
|
3
3
|
from maleo.identity.enums.organization import (
|
|
4
|
-
|
|
4
|
+
IncludableField as OrganizationIncludableField,
|
|
5
5
|
)
|
|
6
6
|
from maleo.identity.enums.organization_role import (
|
|
7
|
-
|
|
7
|
+
IncludableField as OrganizationRoleIncludableField,
|
|
8
8
|
)
|
|
9
9
|
|
|
10
10
|
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[
|
|
11
|
-
|
|
11
|
+
OrganizationRoleIncludableField, List[OrganizationRoleIncludableField]
|
|
12
12
|
] = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OrganizationRoleIncludableField.ORGANIZATION: [
|
|
14
|
+
OrganizationRoleIncludableField.ORGANIZATION_TYPE,
|
|
15
|
+
OrganizationRoleIncludableField.REGISTRATION_CODE,
|
|
16
16
|
]
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
ORGANIZATION_EXPANDABLE_FIELDS_MAP: Dict[
|
|
20
|
-
|
|
20
|
+
OrganizationRoleIncludableField, OrganizationIncludableField
|
|
21
21
|
] = {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
OrganizationRoleIncludableField.ORGANIZATION_TYPE: OrganizationIncludableField.ORGANIZATION_TYPE,
|
|
23
|
+
OrganizationRoleIncludableField.REGISTRATION_CODE: OrganizationIncludableField.REGISTRATION_CODE,
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
RESOURCE = Resource(
|
maleo/identity/constants/user.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from typing import Callable, Dict, List
|
|
2
2
|
from uuid import UUID
|
|
3
3
|
from maleo.soma.schemas.resource import Resource, ResourceIdentifier
|
|
4
|
-
from maleo.identity.enums.user import IdentifierType,
|
|
4
|
+
from maleo.identity.enums.user import IdentifierType, IncludableField
|
|
5
5
|
from maleo.identity.types.base.user import IdentifierValueType
|
|
6
6
|
|
|
7
7
|
IDENTIFIER_TYPE_VALUE_TYPE_MAP: Dict[
|
|
@@ -13,9 +13,9 @@ IDENTIFIER_TYPE_VALUE_TYPE_MAP: Dict[
|
|
|
13
13
|
IdentifierType.EMAIL: str,
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[IncludableField, List[IncludableField]] = {
|
|
17
|
+
IncludableField.PROFILE: [IncludableField.GENDER, IncludableField.BLOOD_TYPE],
|
|
18
|
+
IncludableField.SYSTEM_ROLES: [IncludableField.SYSTEM_ROLE_DETAILS],
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
RESOURCE = Resource(
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
from typing import Dict, List
|
|
2
2
|
from maleo.soma.schemas.resource import Resource, ResourceIdentifier
|
|
3
|
-
from maleo.identity.enums.user import
|
|
3
|
+
from maleo.identity.enums.user import IncludableField as UserIncludableField
|
|
4
4
|
from maleo.identity.enums.organization import (
|
|
5
|
-
|
|
5
|
+
IncludableField as OrganizationIncludableField,
|
|
6
6
|
)
|
|
7
7
|
from maleo.identity.enums.user_organization import (
|
|
8
|
-
|
|
8
|
+
IncludableField as UserOrganizationIncludableField,
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[
|
|
12
|
-
|
|
12
|
+
UserOrganizationIncludableField, List[UserOrganizationIncludableField]
|
|
13
13
|
] = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
UserOrganizationIncludableField.USER: [
|
|
15
|
+
UserOrganizationIncludableField.USER_TYPE,
|
|
16
|
+
UserOrganizationIncludableField.PROFILE,
|
|
17
17
|
],
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
UserOrganizationIncludableField.PROFILE: [
|
|
19
|
+
UserOrganizationIncludableField.BLOOD_TYPE,
|
|
20
|
+
UserOrganizationIncludableField.GENDER,
|
|
21
21
|
],
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
UserOrganizationIncludableField.SYSTEM_ROLES: [
|
|
23
|
+
UserOrganizationIncludableField.SYSTEM_ROLE_DETAILS
|
|
24
24
|
],
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
UserOrganizationIncludableField.ORGANIZATION: [
|
|
26
|
+
UserOrganizationIncludableField.ORGANIZATION_TYPE,
|
|
27
|
+
UserOrganizationIncludableField.REGISTRATION_CODE,
|
|
28
28
|
],
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
USER_EXPANDABLE_FIELDS_MAP: Dict[
|
|
32
|
-
|
|
32
|
+
UserOrganizationIncludableField, UserIncludableField
|
|
33
33
|
] = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
UserOrganizationIncludableField.USER_TYPE: UserIncludableField.USER_TYPE,
|
|
35
|
+
UserOrganizationIncludableField.PROFILE: UserIncludableField.PROFILE,
|
|
36
|
+
UserOrganizationIncludableField.BLOOD_TYPE: UserIncludableField.BLOOD_TYPE,
|
|
37
|
+
UserOrganizationIncludableField.GENDER: UserIncludableField.GENDER,
|
|
38
|
+
UserOrganizationIncludableField.SYSTEM_ROLES: UserIncludableField.SYSTEM_ROLES,
|
|
39
|
+
UserOrganizationIncludableField.SYSTEM_ROLE_DETAILS: UserIncludableField.SYSTEM_ROLE_DETAILS,
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
ORGANIZATION_EXPANDABLE_FIELDS_MAP: Dict[
|
|
43
|
-
|
|
43
|
+
UserOrganizationIncludableField, OrganizationIncludableField
|
|
44
44
|
] = {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
UserOrganizationIncludableField.ORGANIZATION_TYPE: OrganizationIncludableField.ORGANIZATION_TYPE,
|
|
46
|
+
UserOrganizationIncludableField.REGISTRATION_CODE: OrganizationIncludableField.REGISTRATION_CODE,
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
RESOURCE = Resource(
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
from typing import Dict, List
|
|
2
2
|
from maleo.soma.schemas.resource import Resource, ResourceIdentifier
|
|
3
|
-
from maleo.identity.enums.user import
|
|
3
|
+
from maleo.identity.enums.user import IncludableField as UserIncludableField
|
|
4
4
|
from maleo.identity.enums.organization import (
|
|
5
|
-
|
|
5
|
+
IncludableField as OrganizationIncludableField,
|
|
6
6
|
)
|
|
7
7
|
from maleo.identity.enums.user_organization_role import (
|
|
8
|
-
|
|
8
|
+
IncludableField as UserOrganizationRoleIncludableField,
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[
|
|
12
|
-
|
|
12
|
+
UserOrganizationRoleIncludableField, List[UserOrganizationRoleIncludableField]
|
|
13
13
|
] = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
UserOrganizationRoleIncludableField.USER: [
|
|
15
|
+
UserOrganizationRoleIncludableField.USER_TYPE,
|
|
16
|
+
UserOrganizationRoleIncludableField.PROFILE,
|
|
17
17
|
],
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
UserOrganizationRoleIncludableField.ORGANIZATION: [
|
|
19
|
+
UserOrganizationRoleIncludableField.ORGANIZATION_TYPE,
|
|
20
|
+
UserOrganizationRoleIncludableField.REGISTRATION_CODE,
|
|
21
21
|
],
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
USER_EXPANDABLE_FIELDS_MAP: Dict[
|
|
25
|
-
|
|
25
|
+
UserOrganizationRoleIncludableField, UserIncludableField
|
|
26
26
|
] = {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
UserOrganizationRoleIncludableField.USER_TYPE: UserIncludableField.USER_TYPE,
|
|
28
|
+
UserOrganizationRoleIncludableField.PROFILE: UserIncludableField.PROFILE,
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
ORGANIZATION_EXPANDABLE_FIELDS_MAP: Dict[
|
|
32
|
-
|
|
32
|
+
UserOrganizationRoleIncludableField, OrganizationIncludableField
|
|
33
33
|
] = {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
UserOrganizationRoleIncludableField.ORGANIZATION_TYPE: OrganizationIncludableField.ORGANIZATION_TYPE,
|
|
35
|
+
UserOrganizationRoleIncludableField.REGISTRATION_CODE: OrganizationIncludableField.REGISTRATION_CODE,
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
RESOURCE = Resource(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from typing import Dict, List
|
|
2
2
|
from maleo.soma.schemas.resource import Resource, ResourceIdentifier
|
|
3
|
-
from maleo.identity.enums.user_system_role import
|
|
3
|
+
from maleo.identity.enums.user_system_role import IncludableField
|
|
4
4
|
|
|
5
|
-
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[
|
|
5
|
+
EXPANDABLE_FIELDS_DEPENDENCIES_MAP: Dict[IncludableField, List[IncludableField]] = {}
|
|
6
6
|
|
|
7
7
|
RESOURCE = Resource(
|
|
8
8
|
identifiers=[
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
from maleo.soma.mixins.general import UserId
|
|
2
|
+
from maleo.metadata.schemas.data.gender import OptionalSimpleGenderMixin
|
|
3
|
+
from maleo.metadata.schemas.data.blood_type import OptionalSimpleBloodTypeMixin
|
|
2
4
|
from maleo.identity.mixins.user_profile import (
|
|
3
5
|
IdCard,
|
|
4
6
|
LeadingTitle,
|
|
@@ -15,6 +17,8 @@ from maleo.identity.mixins.user_profile import (
|
|
|
15
17
|
|
|
16
18
|
class UserProfileDTO(
|
|
17
19
|
AvatarName,
|
|
20
|
+
OptionalSimpleBloodTypeMixin,
|
|
21
|
+
OptionalSimpleGenderMixin,
|
|
18
22
|
BirthDate,
|
|
19
23
|
BirthPlace,
|
|
20
24
|
FullName,
|
maleo/identity/enums/user.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field
|
|
2
|
-
from maleo.soma.mixins.parameter import
|
|
3
|
-
from maleo.identity.enums.organization import
|
|
2
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
3
|
+
from maleo.identity.enums.organization import IncludableField
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
6
|
+
class Include(BaseInclude[IncludableField]):
|
|
7
7
|
pass
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field
|
|
2
|
-
from maleo.soma.mixins.parameter import
|
|
3
|
-
from maleo.identity.enums.organization_role import
|
|
2
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
3
|
+
from maleo.identity.enums.organization_role import IncludableField
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
6
|
+
class Include(BaseInclude[IncludableField]):
|
|
7
7
|
pass
|
|
8
8
|
|
|
9
9
|
|
maleo/identity/mixins/user.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field
|
|
2
2
|
from uuid import UUID
|
|
3
|
-
from maleo.soma.mixins.parameter import
|
|
3
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
4
4
|
from maleo.soma.types.base import OptionalListOfStrings
|
|
5
|
-
from maleo.identity.enums.user import
|
|
5
|
+
from maleo.identity.enums.user import IncludableField
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class Include(BaseInclude[IncludableField]):
|
|
9
9
|
pass
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from maleo.soma.mixins.parameter import
|
|
2
|
-
from maleo.identity.enums.user_organization import
|
|
1
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
2
|
+
from maleo.identity.enums.user_organization import IncludableField
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class
|
|
5
|
+
class Include(BaseInclude[IncludableField]):
|
|
6
6
|
pass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from maleo.soma.mixins.parameter import
|
|
2
|
-
from maleo.identity.enums.user_organization_role import
|
|
1
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
2
|
+
from maleo.identity.enums.user_organization_role import IncludableField
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class
|
|
5
|
+
class Include(BaseInclude[IncludableField]):
|
|
6
6
|
pass
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from pydantic import BaseModel, Field
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from maleo.soma.mixins.parameter import
|
|
3
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
4
4
|
from maleo.soma.types.base import OptionalDate, OptionalString
|
|
5
|
-
from maleo.identity.enums.user_profile import
|
|
5
|
+
from maleo.identity.enums.user_profile import IncludableField
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class Include(BaseInclude[IncludableField]):
|
|
9
9
|
pass
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from maleo.soma.mixins.parameter import
|
|
2
|
-
from maleo.identity.enums.user_system_role import
|
|
1
|
+
from maleo.soma.mixins.parameter import Include as BaseInclude
|
|
2
|
+
from maleo.identity.enums.user_system_role import IncludableField
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class
|
|
5
|
+
class Include(BaseInclude[IncludableField]):
|
|
6
6
|
pass
|
|
@@ -12,11 +12,11 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
12
12
|
from maleo.metadata.schemas.data.organization_type import (
|
|
13
13
|
OptionalListOfSimpleOrganizationTypesMixin,
|
|
14
14
|
)
|
|
15
|
-
from maleo.identity.mixins.organization import
|
|
15
|
+
from maleo.identity.mixins.organization import Include
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class ReadMultipleParameter(
|
|
19
|
-
|
|
19
|
+
Include,
|
|
20
20
|
ReadPaginatedMultipleParameterSchema,
|
|
21
21
|
OptionalListOfKeys,
|
|
22
22
|
IsLeaf,
|
|
@@ -32,7 +32,7 @@ class ReadMultipleParameter(
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class ReadMultipleChildrenParameter(
|
|
35
|
-
|
|
35
|
+
Include,
|
|
36
36
|
ReadPaginatedMultipleParameterSchema,
|
|
37
37
|
OptionalListOfKeys,
|
|
38
38
|
IsLeaf,
|
|
@@ -46,7 +46,7 @@ class ReadMultipleChildrenParameter(
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
class ReadMultipleQueryParameter(
|
|
49
|
-
|
|
49
|
+
Include,
|
|
50
50
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
51
51
|
OptionalListOfKeys,
|
|
52
52
|
IsLeaf,
|
|
@@ -62,7 +62,7 @@ class ReadMultipleQueryParameter(
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
class ReadMultipleChildrenQueryParameter(
|
|
65
|
-
|
|
65
|
+
Include,
|
|
66
66
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
67
67
|
OptionalListOfKeys,
|
|
68
68
|
IsLeaf,
|
|
@@ -7,17 +7,17 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
7
7
|
ReadPaginatedMultipleParameterSchema,
|
|
8
8
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
9
9
|
)
|
|
10
|
-
from maleo.identity.mixins.organization_role import
|
|
10
|
+
from maleo.identity.mixins.organization_role import Include
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class ReadMultipleFromOrganizationParameter(
|
|
14
|
-
|
|
14
|
+
Include, ReadPaginatedMultipleParameterSchema, OptionalListOfKeys, OrganizationId
|
|
15
15
|
):
|
|
16
16
|
pass
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class ReadMultipleParameter(
|
|
20
|
-
|
|
20
|
+
Include,
|
|
21
21
|
ReadPaginatedMultipleParameterSchema,
|
|
22
22
|
OptionalListOfKeys,
|
|
23
23
|
OptionalListOfOrganizationIds,
|
|
@@ -26,7 +26,7 @@ class ReadMultipleParameter(
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
class ReadMultipleFromOrganizationQueryParameter(
|
|
29
|
-
|
|
29
|
+
Include,
|
|
30
30
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
31
31
|
OptionalListOfKeys,
|
|
32
32
|
):
|
|
@@ -34,7 +34,7 @@ class ReadMultipleFromOrganizationQueryParameter(
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
class ReadMultipleQueryParameter(
|
|
37
|
-
|
|
37
|
+
Include,
|
|
38
38
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
39
39
|
OptionalListOfKeys,
|
|
40
40
|
OptionalListOfOrganizationIds,
|
|
@@ -10,12 +10,12 @@ from maleo.identity.mixins.user import (
|
|
|
10
10
|
OptionalListOfUsernames,
|
|
11
11
|
OptionalListOfEmails,
|
|
12
12
|
OptionalListOfPhones,
|
|
13
|
-
|
|
13
|
+
Include,
|
|
14
14
|
)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class ReadMultipleParameter(
|
|
18
|
-
|
|
18
|
+
Include,
|
|
19
19
|
ReadPaginatedMultipleParameterSchema,
|
|
20
20
|
OptionalListOfSimpleBloodTypesMixin,
|
|
21
21
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -30,7 +30,7 @@ class ReadMultipleParameter(
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class ReadMultipleQueryParameter(
|
|
33
|
-
|
|
33
|
+
Include,
|
|
34
34
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
35
35
|
OptionalListOfSimpleBloodTypesMixin,
|
|
36
36
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -7,11 +7,11 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
7
7
|
ReadPaginatedMultipleParameterSchema,
|
|
8
8
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
9
9
|
)
|
|
10
|
-
from maleo.identity.mixins.user_organization import
|
|
10
|
+
from maleo.identity.mixins.user_organization import Include
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class ReadMultipleFromUserParameter(
|
|
14
|
-
|
|
14
|
+
Include,
|
|
15
15
|
ReadPaginatedMultipleParameterSchema,
|
|
16
16
|
OptionalListOfOrganizationIds,
|
|
17
17
|
UserId,
|
|
@@ -20,7 +20,7 @@ class ReadMultipleFromUserParameter(
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class ReadMultipleFromOrganizationParameter(
|
|
23
|
-
|
|
23
|
+
Include,
|
|
24
24
|
ReadPaginatedMultipleParameterSchema,
|
|
25
25
|
OptionalListOfUserIds,
|
|
26
26
|
OrganizationId,
|
|
@@ -29,7 +29,7 @@ class ReadMultipleFromOrganizationParameter(
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class ReadMultipleParameter(
|
|
32
|
-
|
|
32
|
+
Include,
|
|
33
33
|
ReadPaginatedMultipleParameterSchema,
|
|
34
34
|
OptionalListOfUserIds,
|
|
35
35
|
OptionalListOfOrganizationIds,
|
|
@@ -38,7 +38,7 @@ class ReadMultipleParameter(
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
class ReadMultipleFromUserQueryParameter(
|
|
41
|
-
|
|
41
|
+
Include,
|
|
42
42
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
43
43
|
OptionalListOfOrganizationIds,
|
|
44
44
|
):
|
|
@@ -46,7 +46,7 @@ class ReadMultipleFromUserQueryParameter(
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
class ReadMultipleFromOrganizationQueryParameter(
|
|
49
|
-
|
|
49
|
+
Include,
|
|
50
50
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
51
51
|
OptionalListOfUserIds,
|
|
52
52
|
):
|
|
@@ -54,7 +54,7 @@ class ReadMultipleFromOrganizationQueryParameter(
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
class ReadMultipleQueryParameter(
|
|
57
|
-
|
|
57
|
+
Include,
|
|
58
58
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
59
59
|
OptionalListOfUserIds,
|
|
60
60
|
OptionalListOfOrganizationIds,
|
|
@@ -8,11 +8,11 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
8
8
|
ReadPaginatedMultipleParameterSchema,
|
|
9
9
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
10
10
|
)
|
|
11
|
-
from maleo.identity.mixins.user_organization_role import
|
|
11
|
+
from maleo.identity.mixins.user_organization_role import Include
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class ReadMultipleFromUserOrganizationParameter(
|
|
15
|
-
|
|
15
|
+
Include,
|
|
16
16
|
ReadPaginatedMultipleParameterSchema,
|
|
17
17
|
OptionalListOfKeys,
|
|
18
18
|
UserId,
|
|
@@ -22,7 +22,7 @@ class ReadMultipleFromUserOrganizationParameter(
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class ReadMultipleParameter(
|
|
25
|
-
|
|
25
|
+
Include,
|
|
26
26
|
ReadPaginatedMultipleParameterSchema,
|
|
27
27
|
OptionalListOfKeys,
|
|
28
28
|
OptionalListOfUserIds,
|
|
@@ -32,7 +32,7 @@ class ReadMultipleParameter(
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class ReadMultipleFromUserOrganizationQueryParameter(
|
|
35
|
-
|
|
35
|
+
Include,
|
|
36
36
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
37
37
|
OptionalListOfKeys,
|
|
38
38
|
):
|
|
@@ -40,7 +40,7 @@ class ReadMultipleFromUserOrganizationQueryParameter(
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class ReadMultipleQueryParameter(
|
|
43
|
-
|
|
43
|
+
Include,
|
|
44
44
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
45
45
|
OptionalListOfKeys,
|
|
46
46
|
OptionalListOfUserIds,
|
|
@@ -5,11 +5,11 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
5
5
|
)
|
|
6
6
|
from maleo.metadata.schemas.data.blood_type import OptionalListOfSimpleBloodTypesMixin
|
|
7
7
|
from maleo.metadata.schemas.data.gender import OptionalListOfSimpleGendersMixin
|
|
8
|
-
from maleo.identity.mixins.user_profile import
|
|
8
|
+
from maleo.identity.mixins.user_profile import Include
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ReadMultipleParameter(
|
|
12
|
-
|
|
12
|
+
Include,
|
|
13
13
|
ReadPaginatedMultipleParameterSchema,
|
|
14
14
|
OptionalListOfSimpleBloodTypesMixin,
|
|
15
15
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -19,7 +19,7 @@ class ReadMultipleParameter(
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class ReadMultipleQueryParameter(
|
|
22
|
-
|
|
22
|
+
Include,
|
|
23
23
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
24
24
|
OptionalListOfSimpleBloodTypesMixin,
|
|
25
25
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -5,11 +5,11 @@ from maleo.soma.schemas.parameter.client import (
|
|
|
5
5
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
6
6
|
)
|
|
7
7
|
from maleo.metadata.schemas.data.system_role import OptionalListOfSimpleSystemRolesMixin
|
|
8
|
-
from maleo.identity.mixins.user_system_role import
|
|
8
|
+
from maleo.identity.mixins.user_system_role import Include
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ReadMultipleFromUserParameter(
|
|
12
|
-
|
|
12
|
+
Include,
|
|
13
13
|
ReadPaginatedMultipleParameterSchema,
|
|
14
14
|
OptionalListOfSimpleSystemRolesMixin,
|
|
15
15
|
UserId,
|
|
@@ -18,7 +18,7 @@ class ReadMultipleFromUserParameter(
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class ReadMultipleParameter(
|
|
21
|
-
|
|
21
|
+
Include,
|
|
22
22
|
ReadPaginatedMultipleParameterSchema,
|
|
23
23
|
OptionalListOfSimpleSystemRolesMixin,
|
|
24
24
|
OptionalListOfUserIds,
|
|
@@ -27,7 +27,7 @@ class ReadMultipleParameter(
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class ReadMultipleFromUserQueryParameter(
|
|
30
|
-
|
|
30
|
+
Include,
|
|
31
31
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
32
32
|
OptionalListOfSimpleSystemRolesMixin,
|
|
33
33
|
):
|
|
@@ -35,7 +35,7 @@ class ReadMultipleFromUserQueryParameter(
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ReadMultipleQueryParameter(
|
|
38
|
-
|
|
38
|
+
Include,
|
|
39
39
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
40
40
|
OptionalListOfSimpleSystemRolesMixin,
|
|
41
41
|
OptionalListOfUserIds,
|