maleo-identity 0.0.92__tar.gz → 0.0.94__tar.gz
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-0.0.92 → maleo_identity-0.0.94}/PKG-INFO +1 -1
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/PKG-INFO +1 -1
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/pyproject.toml +1 -1
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/user.py +1 -1
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/models.py +11 -7
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/LICENSE +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/README.md +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/SOURCES.txt +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/dependency_links.txt +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/requires.txt +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/top_level.txt +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/setup.cfg +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/organization.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/organization_registration_code.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/user.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/user_profile.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/enums/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/enums/organization.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/enums/organization_registration_code.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/enums/user.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/enums/user_profile.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/organization.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/organization_registration_code.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/user_profile.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/common.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/organization.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/organization_registration_code.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/user.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/user_profile.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/types/__init__.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/types/organization.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/types/organization_registration_code.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/types/user.py +0 -0
- {maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/types/user_profile.py +0 -0
|
@@ -18,7 +18,7 @@ class Email(BaseModel, Generic[OptStrT]):
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Emails(BaseModel, Generic[OptListOfStrsT]):
|
|
21
|
-
|
|
21
|
+
emails: Annotated[OptListOfStrsT, Field(..., description="User's Emails")]
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class Phone(BaseModel, Generic[OptStrT]):
|
|
@@ -133,8 +133,10 @@ class UserMedicalRole(DataStatus, DataTimestamp, DataIdentifier):
|
|
|
133
133
|
nullable=False,
|
|
134
134
|
)
|
|
135
135
|
|
|
136
|
-
__table_args__ =
|
|
137
|
-
|
|
136
|
+
__table_args__ = (
|
|
137
|
+
UniqueConstraint(
|
|
138
|
+
"user_id", "organization_id", "medical_role", name="uq_user_medical_role"
|
|
139
|
+
),
|
|
138
140
|
)
|
|
139
141
|
|
|
140
142
|
|
|
@@ -156,11 +158,13 @@ class UserOrganizationRole(DataStatus, DataTimestamp, DataIdentifier):
|
|
|
156
158
|
nullable=False,
|
|
157
159
|
)
|
|
158
160
|
|
|
159
|
-
__table_args__ =
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
__table_args__ = (
|
|
162
|
+
UniqueConstraint(
|
|
163
|
+
"user_id",
|
|
164
|
+
"organization_id",
|
|
165
|
+
"organization_role",
|
|
166
|
+
name="uq_user_organization_role",
|
|
167
|
+
),
|
|
164
168
|
)
|
|
165
169
|
|
|
166
170
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maleo_identity-0.0.92 → maleo_identity-0.0.94}/maleo_identity.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/constants/organization_registration_code.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/mixins/organization_registration_code.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maleo_identity-0.0.92 → maleo_identity-0.0.94}/src/schemas/organization_registration_code.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|