Commit 3bec89c3 authored by Jo Sama's avatar Jo Sama 😱
Browse files

UserStatus and dateTo might be optional

UBWs documentation says that UserStatus is optional. Rumours say that
dateTo is optional too!
parent fdaf6ca9
Pipeline #48030 passed with stage
in 2 minutes and 14 seconds
......@@ -565,7 +565,7 @@ class RoleAndCompany(BaseModel):
class UserStatus(BaseModel):
date_from: datetime.datetime
date_to: datetime.datetime
date_to: typing.Optional[datetime.datetime]
status: str
class Config:
......@@ -594,7 +594,7 @@ class Bruker(BaseModel):
user_name: str
description: str
default_logon_company: str
user_status: UserStatus
user_status: typing.Optional[UserStatus]
security: typing.Optional[Security]
language_code: typing.Optional[str]
usage: typing.Optional[Usage]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment