Skip to content
Snippets Groups Projects
Commit b2419349 authored by Petr Kalashnikov's avatar Petr Kalashnikov
Browse files

CHange type of date in batch extraction method

parent 79a35982
No related branches found
No related tags found
2 merge requests!13Fsho12, del 1: mulighet å returnere en liste av batcher uten vouchere,!11FSHO10: support filtering of batches in list from setra
Pipeline #67494 passed
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import logging import logging
import urllib.parse import urllib.parse
from typing import Union, Optional from typing import Union, Optional
from datetime import date
import requests import requests
...@@ -186,8 +187,8 @@ class SetraClient(object): ...@@ -186,8 +187,8 @@ class SetraClient(object):
def get_batch(self, def get_batch(self,
batch_id: Optional[int] = None, batch_id: Optional[int] = None,
min_created_date: Optional[str] = None, min_created_date: Optional[date] = None,
max_created_date: Optional[str] = None, max_created_date: Optional[date] = None,
batch_progress: Optional[BatchProgressEnum] = None, batch_progress: Optional[BatchProgressEnum] = None,
interface: Optional[str] = None): interface: Optional[str] = None):
......
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