eimerdb_helpers module¶
- create_partition_select(desired_partitions, skjema=None, **kwargs)¶
Creates partition select for queries with eimerdb in callbacks.
- Parameters:
desired_partitions (list[str]) – List of partitions you want.
skjema (str | None) – Optionally you can add which form (RA-number) you want in the partition select.
**kwargs (int) – Should be a dict where key is the partition and value is the specific partition you want.
- Return type:
dict
[str
,list
[int
|str
]]- Returns:
dict[str, list[int | str]]