Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ernst Würger <[email protected]>
  • Loading branch information
micha91 and ewuerger authored May 10, 2024
1 parent de1cde8 commit f9c5954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_api_client_build/build_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
error_code_pattern = re.compile("[4,5][0-9]{2}")


def fix_spec(src, path):
def fix_spec(src: str, path: str | os.PathLike):
"""Fix errors in the specification."""
if src == "path":
with open(path, "r") as f:
Expand Down

0 comments on commit f9c5954

Please sign in to comment.