diff --git a/openhexa/toolbox/dhis2/dhis2.py b/openhexa/toolbox/dhis2/dhis2.py index 940c42f..23d2b73 100644 --- a/openhexa/toolbox/dhis2/dhis2.py +++ b/openhexa/toolbox/dhis2/dhis2.py @@ -560,7 +560,7 @@ def get( data_elements: List[str] = None, datasets: List[str] = None, data_element_groups: List[str] = None, - periods: List[str | Period] = None, + periods: List[Union[str, Period]] = None, start_date: str = None, end_date: str = None, org_units: List[str] = None, @@ -972,7 +972,7 @@ def get( data_element_groups: List[str] = None, indicators: List[str] = None, indicator_groups: List[str] = None, - periods: List[str | Period] = None, + periods: Union[str, Period] = None, org_units: List[str] = None, org_unit_groups: List[str] = None, org_unit_levels: List[int] = None,