We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1048855 commit ba94038Copy full SHA for ba94038
ratapi/outputs.py
@@ -574,7 +574,7 @@ def save(self, filepath: str | Path = "./results.json"):
574
filepath.write_text(json.dumps(json_dict))
575
576
577
-def write_core_results_fields(results: Results | BayesResults, json_dict: dict | None = None) -> dict:
+def write_core_results_fields(results: Union[Results, BayesResults], json_dict: dict | None = None) -> dict: # noqa: UP007
578
"""Modify the values of the fields that appear in both Results and BayesResults when saving to a json file.
579
580
Parameters
0 commit comments