-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Martin Landa edited this page Nov 4, 2021
·
27 revisions
gen = genererujCenoveUdajeDleKU()
gen.paramaters = { 'ku': 73892, 'rok': 2020, 'mesic_od': 1, 'mesic_do': 3 }
@property
def parameters(self):
...
@property
def id(self):
... parse xml and return id
gen.get_paramaters_from_file('params.json')
{ 'ku': 73892, 'rok': 2020, 'mesic_od: 1, 'mesic_do: 2 }
## Krok 2 - seznam sestav
```py
sez = seznamSestav(gen.id)
[
"m+o3Qoxrit4ZwyJIPjx3X788EOgtJieiZYw/eqwxTPERjsqLramxBhGoAaAnooYAliQoVBYy7Q7fN2cVAxsAoUoPFaReqsfYWOZJjMBj/6Q=",
"\nmSH6sS5yv6vA2jEOtyHeXaXIJpC2m0Ai56aKzsVmEphUNyjFQYgC8MOLnu3+3Zugm8JQW2AJqEJYcSiqXdPbnb/03PKgyNkYWaS876wv0tg="
]