Skip to content

Commit

Permalink
fix(dhis2): compatibility with python<=3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
yannforget committed May 27, 2024
1 parent 0a15d0c commit cfc0ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openhexa/toolbox/dhis2/dhis2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit cfc0ff4

Please sign in to comment.