Skip to content
Snippets Groups Projects
Commit 879c0fa0 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Merge branch 'period-optional' into 'master'

Make Batch.period optional

See merge request !8
parents 061311c9 104b5ed7
No related branches found
Tags v0.4.0
1 merge request!8Make Batch.period optional
Pipeline #57292 passed
......@@ -60,11 +60,13 @@ class Voucher(BaseModel):
class Batch(BaseModel):
"""Model representing a batch, with a list of vouchers (and each voucher has a list of transactions)"""
"""
Model representing a batch, with a list of vouchers (and each
voucher has a list of transactions)
"""
client: str
batchid: str
period: str
period: typing.Optional[str]
interface: str
vouchertype: typing.Optional[str]
vouchers: typing.List[Voucher]
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