Skip to content
Snippets Groups Projects
Commit 3b63ed52 authored by Ruben's avatar Ruben Committed by rha104
Browse files

Made two batch fields optional, because sometimes when you retrieve a batch...

it will not fill these field, because they are not yet available, and therefore it would fail when parsing the data 
parent 78e484bc
No related branches found
No related tags found
1 merge request!29BOOK-46: Made two batch fields optional, because sometimes when you retrieve a batch...
Pipeline #120646 passed
......@@ -194,10 +194,10 @@ class CompleteBatch(BaseModel):
"""Model for the /batch_complete/<id> endpoint"""
created: datetime.datetime
batchid: str
period: int
period: Optional[int]
interface: str
client: str
vouchertype: str
vouchertype: Optional[str]
batch_validated_ok_date: Optional[datetime.datetime]
batch_rejected_code: Optional[str]
sent_date: Optional[datetime.datetime]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment