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
|
@@ -12,17 +12,17 @@ from maleo.soma.schemas.parameter.general import (
|
|
|
12
12
|
)
|
|
13
13
|
from maleo.soma.types.base import ListOfDataStatuses
|
|
14
14
|
from maleo.metadata.schemas.data.organization_type import SimpleOrganizationTypeMixin
|
|
15
|
-
from maleo.identity.enums.organization import IdentifierType,
|
|
16
|
-
from maleo.identity.mixins.organization import Key, Name,
|
|
15
|
+
from maleo.identity.enums.organization import IdentifierType, IncludableField
|
|
16
|
+
from maleo.identity.mixins.organization import Key, Name, Include
|
|
17
17
|
from maleo.identity.types.base.organization import IdentifierValueType
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
class ReadSingleQueryParameter(
|
|
20
|
+
class ReadSingleQueryParameter(Include, ReadSingleQueryParameterSchema):
|
|
21
21
|
pass
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class ReadSingleParameter(
|
|
25
|
-
|
|
25
|
+
Include, ReadSingleParameterSchema[IdentifierType, IdentifierValueType]
|
|
26
26
|
):
|
|
27
27
|
@overload
|
|
28
28
|
@classmethod
|
|
@@ -32,7 +32,7 @@ class ReadSingleParameter(
|
|
|
32
32
|
value: int,
|
|
33
33
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
34
34
|
use_cache: bool = True,
|
|
35
|
-
|
|
35
|
+
include: Optional[List[IncludableField]] = None,
|
|
36
36
|
) -> "ReadSingleParameter": ...
|
|
37
37
|
@overload
|
|
38
38
|
@classmethod
|
|
@@ -42,7 +42,7 @@ class ReadSingleParameter(
|
|
|
42
42
|
value: UUID,
|
|
43
43
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
44
44
|
use_cache: bool = True,
|
|
45
|
-
|
|
45
|
+
include: Optional[List[IncludableField]] = None,
|
|
46
46
|
) -> "ReadSingleParameter": ...
|
|
47
47
|
@overload
|
|
48
48
|
@classmethod
|
|
@@ -52,7 +52,7 @@ class ReadSingleParameter(
|
|
|
52
52
|
value: str,
|
|
53
53
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
54
54
|
use_cache: bool = True,
|
|
55
|
-
|
|
55
|
+
include: Optional[List[IncludableField]] = None,
|
|
56
56
|
) -> "ReadSingleParameter": ...
|
|
57
57
|
@classmethod
|
|
58
58
|
def new(
|
|
@@ -61,14 +61,14 @@ class ReadSingleParameter(
|
|
|
61
61
|
value: IdentifierValueType,
|
|
62
62
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
63
63
|
use_cache: bool = True,
|
|
64
|
-
|
|
64
|
+
include: Optional[List[IncludableField]] = None,
|
|
65
65
|
) -> "ReadSingleParameter":
|
|
66
66
|
return cls(
|
|
67
67
|
identifier=identifier,
|
|
68
68
|
value=value,
|
|
69
69
|
statuses=statuses,
|
|
70
70
|
use_cache=use_cache,
|
|
71
|
-
|
|
71
|
+
include=include,
|
|
72
72
|
)
|
|
73
73
|
|
|
74
74
|
|
|
@@ -77,14 +77,14 @@ class CreateOrUpdateBody(Name, Key, OptionalParentId, SimpleOrganizationTypeMixi
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
class CreateParameter(
|
|
80
|
-
|
|
80
|
+
Include,
|
|
81
81
|
CreateOrUpdateBody,
|
|
82
82
|
):
|
|
83
83
|
pass
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
class UpdateParameter(
|
|
87
|
-
|
|
87
|
+
Include,
|
|
88
88
|
CreateOrUpdateBody,
|
|
89
89
|
IdentifierValueMixin[IdentifierValueType],
|
|
90
90
|
IdentifierTypeMixin[IdentifierType],
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from maleo.soma.mixins.general import OrganizationId
|
|
2
2
|
from maleo.soma.mixins.parameter import OptionalListOfDataStatuses, UseCache
|
|
3
3
|
from maleo.soma.schemas.parameter.general import ReadSingleQueryParameterSchema
|
|
4
|
-
from maleo.identity.mixins.organization_role import Key,
|
|
4
|
+
from maleo.identity.mixins.organization_role import Key, Include
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
class ReadSingleQueryParameter(
|
|
7
|
+
class ReadSingleQueryParameter(Include, ReadSingleQueryParameterSchema):
|
|
8
8
|
pass
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ReadSingleParameter(
|
|
12
|
-
|
|
12
|
+
Include, UseCache, OptionalListOfDataStatuses, Key, OrganizationId
|
|
13
13
|
):
|
|
14
14
|
pass
|
|
@@ -14,7 +14,7 @@ from maleo.soma.types.base import ListOfDataStatuses
|
|
|
14
14
|
from maleo.metadata.schemas.data.blood_type import OptionalSimpleBloodTypeMixin
|
|
15
15
|
from maleo.metadata.schemas.data.gender import OptionalSimpleGenderMixin
|
|
16
16
|
from maleo.metadata.schemas.data.user_type import SimpleUserTypeMixin
|
|
17
|
-
from maleo.identity.enums.user import IdentifierType,
|
|
17
|
+
from maleo.identity.enums.user import IdentifierType, IncludableField
|
|
18
18
|
from maleo.identity.mixins.user import (
|
|
19
19
|
Username,
|
|
20
20
|
Email,
|
|
@@ -22,7 +22,7 @@ from maleo.identity.mixins.user import (
|
|
|
22
22
|
Password,
|
|
23
23
|
PasswordConfirmation,
|
|
24
24
|
RegistrationCode,
|
|
25
|
-
|
|
25
|
+
Include,
|
|
26
26
|
)
|
|
27
27
|
from maleo.identity.mixins.user_profile import (
|
|
28
28
|
OptionalIdCard,
|
|
@@ -40,12 +40,12 @@ from maleo.identity.mixins.user_profile import (
|
|
|
40
40
|
from maleo.identity.types.base.user import IdentifierValueType
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
class ReadSingleQueryParameter(
|
|
43
|
+
class ReadSingleQueryParameter(Include, ReadSingleQueryParameterSchema):
|
|
44
44
|
pass
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
class ReadSingleParameter(
|
|
48
|
-
|
|
48
|
+
Include, ReadSingleParameterSchema[IdentifierType, IdentifierValueType]
|
|
49
49
|
):
|
|
50
50
|
@overload
|
|
51
51
|
@classmethod
|
|
@@ -55,7 +55,7 @@ class ReadSingleParameter(
|
|
|
55
55
|
value: int,
|
|
56
56
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
57
57
|
use_cache: bool = True,
|
|
58
|
-
|
|
58
|
+
include: Optional[List[IncludableField]] = None,
|
|
59
59
|
) -> "ReadSingleParameter": ...
|
|
60
60
|
@overload
|
|
61
61
|
@classmethod
|
|
@@ -65,7 +65,7 @@ class ReadSingleParameter(
|
|
|
65
65
|
value: UUID,
|
|
66
66
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
67
67
|
use_cache: bool = True,
|
|
68
|
-
|
|
68
|
+
include: Optional[List[IncludableField]] = None,
|
|
69
69
|
) -> "ReadSingleParameter": ...
|
|
70
70
|
@overload
|
|
71
71
|
@classmethod
|
|
@@ -75,7 +75,7 @@ class ReadSingleParameter(
|
|
|
75
75
|
value: str,
|
|
76
76
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
77
77
|
use_cache: bool = True,
|
|
78
|
-
|
|
78
|
+
include: Optional[List[IncludableField]] = None,
|
|
79
79
|
) -> "ReadSingleParameter": ...
|
|
80
80
|
@classmethod
|
|
81
81
|
def new(
|
|
@@ -84,14 +84,14 @@ class ReadSingleParameter(
|
|
|
84
84
|
value: IdentifierValueType,
|
|
85
85
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
86
86
|
use_cache: bool = True,
|
|
87
|
-
|
|
87
|
+
include: Optional[List[IncludableField]] = None,
|
|
88
88
|
) -> "ReadSingleParameter":
|
|
89
89
|
return cls(
|
|
90
90
|
identifier=identifier,
|
|
91
91
|
value=value,
|
|
92
92
|
statuses=statuses,
|
|
93
93
|
use_cache=use_cache,
|
|
94
|
-
|
|
94
|
+
include=include,
|
|
95
95
|
)
|
|
96
96
|
|
|
97
97
|
|
|
@@ -106,7 +106,7 @@ class UpdateBody(Phone, Email, Username):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
class UpdateParameter(
|
|
109
|
-
|
|
109
|
+
Include,
|
|
110
110
|
UpdateBody,
|
|
111
111
|
IdentifierValueMixin[IdentifierValueType],
|
|
112
112
|
IdentifierTypeMixin[IdentifierType],
|
|
@@ -119,14 +119,14 @@ class CreateBody(Password, UpdateBody, SimpleUserTypeMixin, OptionalOrganization
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
class CreateParameter(
|
|
122
|
-
|
|
122
|
+
Include,
|
|
123
123
|
CreateBody,
|
|
124
124
|
):
|
|
125
125
|
pass
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
class RegisterParameter(
|
|
129
|
-
|
|
129
|
+
Include,
|
|
130
130
|
OptionalAvatarName,
|
|
131
131
|
OptionalAvatarContentType,
|
|
132
132
|
OptionalAvatar,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
from maleo.soma.mixins.general import OrganizationId, UserId
|
|
2
2
|
from maleo.soma.mixins.parameter import OptionalListOfDataStatuses, UseCache
|
|
3
3
|
from maleo.soma.schemas.parameter.general import ReadSingleQueryParameterSchema
|
|
4
|
-
from maleo.identity.mixins.user_organization import
|
|
4
|
+
from maleo.identity.mixins.user_organization import Include
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
class ReadSingleQueryParameter(
|
|
7
|
+
class ReadSingleQueryParameter(Include, ReadSingleQueryParameterSchema):
|
|
8
8
|
pass
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ReadSingleParameter(
|
|
12
|
-
|
|
12
|
+
Include, UseCache, OptionalListOfDataStatuses, OrganizationId, UserId
|
|
13
13
|
):
|
|
14
14
|
pass
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
class CreateParameter(
|
|
17
|
+
class CreateParameter(Include, UserId, OrganizationId):
|
|
18
18
|
pass
|
|
@@ -2,14 +2,14 @@ from maleo.soma.mixins.general import OrganizationId, UserId
|
|
|
2
2
|
from maleo.soma.mixins.parameter import OptionalListOfDataStatuses, UseCache
|
|
3
3
|
from maleo.soma.schemas.parameter.general import ReadSingleQueryParameterSchema
|
|
4
4
|
from maleo.identity.mixins.organization_role import Key
|
|
5
|
-
from maleo.identity.mixins.user_organization_role import
|
|
5
|
+
from maleo.identity.mixins.user_organization_role import Include
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class ReadSingleQueryParameter(
|
|
8
|
+
class ReadSingleQueryParameter(Include, ReadSingleQueryParameterSchema):
|
|
9
9
|
pass
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class ReadSingleParameter(
|
|
13
|
-
|
|
13
|
+
Include, UseCache, OptionalListOfDataStatuses, Key, OrganizationId, UserId
|
|
14
14
|
):
|
|
15
15
|
pass
|
|
@@ -10,9 +10,9 @@ from maleo.soma.schemas.parameter.general import (
|
|
|
10
10
|
from maleo.soma.types.base import ListOfDataStatuses
|
|
11
11
|
from maleo.metadata.schemas.data.blood_type import OptionalSimpleBloodTypeMixin
|
|
12
12
|
from maleo.metadata.schemas.data.gender import OptionalSimpleGenderMixin
|
|
13
|
-
from maleo.identity.enums.user_profile import IdentifierType,
|
|
13
|
+
from maleo.identity.enums.user_profile import IdentifierType, IncludableField
|
|
14
14
|
from maleo.identity.mixins.user_profile import (
|
|
15
|
-
|
|
15
|
+
Include,
|
|
16
16
|
OptionalIdCard,
|
|
17
17
|
LeadingTitle,
|
|
18
18
|
FirstName,
|
|
@@ -28,14 +28,14 @@ from maleo.identity.types.base.user_profile import IdentifierValueType
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class ReadSingleQueryParameter(
|
|
31
|
-
|
|
31
|
+
Include,
|
|
32
32
|
ReadSingleQueryParameterSchema,
|
|
33
33
|
):
|
|
34
34
|
pass
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ReadSingleParameter(
|
|
38
|
-
|
|
38
|
+
Include, ReadSingleParameterSchema[IdentifierType, IdentifierValueType]
|
|
39
39
|
):
|
|
40
40
|
@overload
|
|
41
41
|
@classmethod
|
|
@@ -45,7 +45,7 @@ class ReadSingleParameter(
|
|
|
45
45
|
value: int,
|
|
46
46
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
47
47
|
use_cache: bool = True,
|
|
48
|
-
|
|
48
|
+
include: Optional[List[IncludableField]] = None,
|
|
49
49
|
) -> "ReadSingleParameter": ...
|
|
50
50
|
@overload
|
|
51
51
|
@classmethod
|
|
@@ -55,7 +55,7 @@ class ReadSingleParameter(
|
|
|
55
55
|
value: UUID,
|
|
56
56
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
57
57
|
use_cache: bool = True,
|
|
58
|
-
|
|
58
|
+
include: Optional[List[IncludableField]] = None,
|
|
59
59
|
) -> "ReadSingleParameter": ...
|
|
60
60
|
@overload
|
|
61
61
|
@classmethod
|
|
@@ -65,7 +65,7 @@ class ReadSingleParameter(
|
|
|
65
65
|
value: str,
|
|
66
66
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
67
67
|
use_cache: bool = True,
|
|
68
|
-
|
|
68
|
+
include: Optional[List[IncludableField]] = None,
|
|
69
69
|
) -> "ReadSingleParameter": ...
|
|
70
70
|
@classmethod
|
|
71
71
|
def new(
|
|
@@ -74,18 +74,18 @@ class ReadSingleParameter(
|
|
|
74
74
|
value: IdentifierValueType,
|
|
75
75
|
statuses: ListOfDataStatuses = ALL_STATUSES,
|
|
76
76
|
use_cache: bool = True,
|
|
77
|
-
|
|
77
|
+
include: Optional[List[IncludableField]] = None,
|
|
78
78
|
) -> "ReadSingleParameter":
|
|
79
79
|
return cls(
|
|
80
80
|
identifier=identifier,
|
|
81
81
|
value=value,
|
|
82
82
|
statuses=statuses,
|
|
83
83
|
use_cache=use_cache,
|
|
84
|
-
|
|
84
|
+
include=include,
|
|
85
85
|
)
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
class CreateOrUpdateQuery(
|
|
88
|
+
class CreateOrUpdateQuery(Include):
|
|
89
89
|
pass
|
|
90
90
|
|
|
91
91
|
|
|
@@ -2,18 +2,18 @@ from maleo.soma.mixins.general import UserId
|
|
|
2
2
|
from maleo.soma.mixins.parameter import OptionalListOfDataStatuses, UseCache
|
|
3
3
|
from maleo.soma.schemas.parameter.general import ReadSingleQueryParameterSchema
|
|
4
4
|
from maleo.metadata.schemas.data.system_role import SimpleSystemRoleMixin
|
|
5
|
-
from maleo.identity.mixins.user_system_role import
|
|
5
|
+
from maleo.identity.mixins.user_system_role import Include
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class ReadSingleQueryParameter(
|
|
9
|
-
|
|
9
|
+
Include,
|
|
10
10
|
ReadSingleQueryParameterSchema,
|
|
11
11
|
):
|
|
12
12
|
pass
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class ReadSingleParameter(
|
|
16
|
-
|
|
16
|
+
Include,
|
|
17
17
|
UseCache,
|
|
18
18
|
OptionalListOfDataStatuses,
|
|
19
19
|
SimpleSystemRoleMixin,
|
|
@@ -23,7 +23,7 @@ class ReadSingleParameter(
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class CreateParameter(
|
|
26
|
-
|
|
26
|
+
Include,
|
|
27
27
|
SimpleSystemRoleMixin,
|
|
28
28
|
UserId,
|
|
29
29
|
):
|
|
@@ -12,11 +12,11 @@ from maleo.soma.schemas.parameter.service 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 ReadMultipleChildrenQueryParameter(
|
|
19
|
-
|
|
19
|
+
Include,
|
|
20
20
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
21
21
|
OptionalListOfKeys,
|
|
22
22
|
IsLeaf,
|
|
@@ -29,7 +29,7 @@ class ReadMultipleChildrenQueryParameter(
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class ReadMultipleQueryParameter(
|
|
32
|
-
|
|
32
|
+
Include,
|
|
33
33
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
34
34
|
OptionalListOfKeys,
|
|
35
35
|
IsLeaf,
|
|
@@ -45,7 +45,7 @@ class ReadMultipleQueryParameter(
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
class ReadMultipleParameter(
|
|
48
|
-
|
|
48
|
+
Include,
|
|
49
49
|
ReadPaginatedMultipleParameterSchema,
|
|
50
50
|
OptionalListOfKeys,
|
|
51
51
|
IsLeaf,
|
|
@@ -6,11 +6,11 @@ from maleo.soma.mixins.parameter import (
|
|
|
6
6
|
OptionalListOfKeys,
|
|
7
7
|
OptionalListOfOrganizationIds,
|
|
8
8
|
)
|
|
9
|
-
from maleo.identity.mixins.organization_role import
|
|
9
|
+
from maleo.identity.mixins.organization_role import Include
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class ReadMultipleFromOrganizationQueryParameter(
|
|
13
|
-
|
|
13
|
+
Include,
|
|
14
14
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
15
15
|
OptionalListOfKeys,
|
|
16
16
|
):
|
|
@@ -18,7 +18,7 @@ class ReadMultipleFromOrganizationQueryParameter(
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class ReadMultipleQueryParameter(
|
|
21
|
-
|
|
21
|
+
Include,
|
|
22
22
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
23
23
|
OptionalListOfKeys,
|
|
24
24
|
OptionalListOfOrganizationIds,
|
|
@@ -27,7 +27,7 @@ class ReadMultipleQueryParameter(
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class ReadMultipleParameter(
|
|
30
|
-
|
|
30
|
+
Include,
|
|
31
31
|
ReadPaginatedMultipleParameterSchema,
|
|
32
32
|
OptionalListOfKeys,
|
|
33
33
|
OptionalListOfOrganizationIds,
|
|
@@ -13,12 +13,12 @@ from maleo.identity.mixins.user import (
|
|
|
13
13
|
OptionalListOfUsernames,
|
|
14
14
|
OptionalListOfEmails,
|
|
15
15
|
OptionalListOfPhones,
|
|
16
|
-
|
|
16
|
+
Include,
|
|
17
17
|
)
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class ReadMultipleQueryParameter(
|
|
21
|
-
|
|
21
|
+
Include,
|
|
22
22
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
23
23
|
OptionalListOfSimpleBloodTypesMixin,
|
|
24
24
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -33,7 +33,7 @@ class ReadMultipleQueryParameter(
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
class ReadMultipleParameter(
|
|
36
|
-
|
|
36
|
+
Include,
|
|
37
37
|
ReadPaginatedMultipleParameterSchema,
|
|
38
38
|
OptionalListOfSimpleBloodTypesMixin,
|
|
39
39
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -7,17 +7,17 @@ from maleo.soma.schemas.parameter.service import (
|
|
|
7
7
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
8
8
|
ReadPaginatedMultipleParameterSchema,
|
|
9
9
|
)
|
|
10
|
-
from maleo.identity.mixins.user_organization_role import
|
|
10
|
+
from maleo.identity.mixins.user_organization_role import Include
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class ReadMultipleFromUserOrganizationQueryParameter(
|
|
14
|
-
|
|
14
|
+
Include, ReadPaginatedMultipleQueryParameterSchema, OptionalListOfKeys
|
|
15
15
|
):
|
|
16
16
|
pass
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class ReadMultipleQueryParameter(
|
|
20
|
-
|
|
20
|
+
Include,
|
|
21
21
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
22
22
|
OptionalListOfKeys,
|
|
23
23
|
OptionalListOfUserIds,
|
|
@@ -27,7 +27,7 @@ class ReadMultipleQueryParameter(
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class ReadMultipleParameter(
|
|
30
|
-
|
|
30
|
+
Include,
|
|
31
31
|
ReadPaginatedMultipleParameterSchema,
|
|
32
32
|
OptionalListOfKeys,
|
|
33
33
|
OptionalListOfUserIds,
|
|
@@ -5,11 +5,11 @@ from maleo.soma.schemas.parameter.service 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 ReadMultipleQueryParameter(
|
|
12
|
-
|
|
12
|
+
Include,
|
|
13
13
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
14
14
|
OptionalListOfSimpleBloodTypesMixin,
|
|
15
15
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -19,7 +19,7 @@ class ReadMultipleQueryParameter(
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class ReadMultipleParameter(
|
|
22
|
-
|
|
22
|
+
Include,
|
|
23
23
|
ReadPaginatedMultipleParameterSchema,
|
|
24
24
|
OptionalListOfSimpleBloodTypesMixin,
|
|
25
25
|
OptionalListOfSimpleGendersMixin,
|
|
@@ -4,17 +4,17 @@ from maleo.soma.schemas.parameter.service import (
|
|
|
4
4
|
ReadPaginatedMultipleParameterSchema,
|
|
5
5
|
)
|
|
6
6
|
from maleo.metadata.schemas.data.system_role import OptionalSimpleSystemRoleMixin
|
|
7
|
-
from maleo.identity.mixins.user_system_role import
|
|
7
|
+
from maleo.identity.mixins.user_system_role import Include
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class ReadMultipleFromuserQueryParameter(
|
|
11
|
-
|
|
11
|
+
Include, ReadPaginatedMultipleQueryParameterSchema, OptionalSimpleSystemRoleMixin
|
|
12
12
|
):
|
|
13
13
|
pass
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class ReadMultipleQueryParameter(
|
|
17
|
-
|
|
17
|
+
Include,
|
|
18
18
|
ReadPaginatedMultipleQueryParameterSchema,
|
|
19
19
|
OptionalSimpleSystemRoleMixin,
|
|
20
20
|
OptionalListOfUserIds,
|
|
@@ -23,7 +23,7 @@ class ReadMultipleQueryParameter(
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
class ReadMultipleParameter(
|
|
26
|
-
|
|
26
|
+
Include,
|
|
27
27
|
ReadPaginatedMultipleParameterSchema,
|
|
28
28
|
OptionalSimpleSystemRoleMixin,
|
|
29
29
|
OptionalListOfUserIds,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-identity
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.91
|
|
4
4
|
Summary: MaleoIdentity service package
|
|
5
5
|
Author-email: Agra Bima Yuda <agra@nexmedis.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.7
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist:
|
|
10
|
-
Requires-Dist: maleo_metadata>=0.2.49
|
|
9
|
+
Requires-Dist: maleo-metadata>=0.2.52
|
|
11
10
|
|
|
12
11
|
# README #
|
|
13
12
|
|