Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
it-bott-integrasjoner
cim-client
Commits
6b42df61
Commit
6b42df61
authored
Oct 01, 2020
by
Petr Kalashnikov
Browse files
Remove email validation
parent
b19f51cb
Pipeline
#27798
passed with stage
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cim_client/models.py
View file @
6b42df61
...
...
@@ -69,7 +69,7 @@ class NextOfKin(BaseModel):
lastname
:
str
id
:
str
phone
:
Optional
[
PHONE_REGEX
]
email
:
Optional
[
EmailEmptyAllowedS
tr
]
email
:
Optional
[
s
tr
]
relation
:
Optional
[
RelationEnum
]
date_of_birth
:
Optional
[
str
]
# Date format must agree with system admin
address
:
Optional
[
str
]
...
...
@@ -92,8 +92,8 @@ class Person(BaseModel):
secret_number
:
Optional
[
PHONE_REGEX
]
private_mobile
:
Optional
[
PHONE_REGEX
]
private_phone
:
Optional
[
PHONE_REGEX
]
email
:
Optional
[
EmailEmptyAllowedS
tr
]
email_secondary
:
Optional
[
EmailEmptyAllowedS
tr
]
email
:
Optional
[
s
tr
]
email_secondary
:
Optional
[
s
tr
]
org_import_id
:
Optional
[
str
]
location_import_id
:
Optional
[
str
]
company
:
Optional
[
str
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment