Skip to content

Commit 8a79a96

Browse files
author
artem.bryuhanov
committed
fix: typo
1 parent db2cdf1 commit 8a79a96

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

openapi_python_client/parser/properties/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ def property_from_data( # noqa: PLR0911
147147
roots = roots or set()
148148
name = utils.remove_string_escapes(name)
149149
if isinstance(data, oai.Reference):
150-
print(data)
151150
return _property_from_ref(
152151
name=name,
153152
required=required,

openapi_python_client/parser/properties/remote_model_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ def _get_module_path(path: str) -> str:
7272
"""
7373

7474
ref = urlparse(path)
75-
return ref.path.split("/")[-1].split(".")[0]
75+
return ref.path.split("/")[-1].split(".")[0]

0 commit comments

Comments
 (0)