Skip to content

Commit

Permalink
- Add typing to fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio-RiveroMartnez committed Aug 27, 2024
1 parent 6af8275 commit e349e28
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
}

# Specific parameter objects overriding only the differing properties
params_v1_with_custom = {
params_v1_with_custom: dict[str, Any] = {
**base_params,
"metric": {
**base_params["metric"],
Expand Down Expand Up @@ -113,7 +113,7 @@
],
}

params_v1_other_than_custom = {
params_v1_other_than_custom: dict[str, Any] = {
**base_params,
"metric": {
**base_params["metric"],
Expand All @@ -132,12 +132,12 @@
],
}

params_v1_other_than_custom_false = {
params_v1_other_than_custom_false: dict[str, Any] = {
**params_v1_other_than_custom,
"enable_time_comparison": False,
}

params_v2_with_custom = {
params_v2_with_custom: dict[str, Any] = {
**base_params,
"metric": {
**base_params["metric"],
Expand All @@ -155,7 +155,7 @@
"start_date_offset": "1981-01-01",
}

params_v2_other_than_custom = {
params_v2_other_than_custom: dict[str, Any] = {
**base_params,
"metric": {
**base_params["metric"],
Expand All @@ -165,7 +165,7 @@
"comparison_type": "values",
}

params_v2_other_than_custom_false = {
params_v2_other_than_custom_false: dict[str, Any] = {
**params_v2_other_than_custom,
"time_compare": [],
}
Expand Down

0 comments on commit e349e28

Please sign in to comment.