Skip to content

Commit 9db3854

Browse files
committed
Reverts typing change
1 parent ba94038 commit 9db3854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratapi/outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def save(self, filepath: str | Path = "./results.json"):
574574
filepath.write_text(json.dumps(json_dict))
575575

576576

577-
def write_core_results_fields(results: Union[Results, BayesResults], json_dict: dict | None = None) -> dict: # noqa: UP007
577+
def write_core_results_fields(results: Results | BayesResults, json_dict: dict | None = None) -> dict:
578578
"""Modify the values of the fields that appear in both Results and BayesResults when saving to a json file.
579579
580580
Parameters

0 commit comments

Comments
 (0)