File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
openapi_python_client/parser Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ def _add_responses(
200200
201201 # No reasons to use lazy imports in endpoints, so add lazy imports to relative here.
202202 for media_type in response .content :
203- if not media_type .prop :
203+ if not media_type .prop : # pragma: no cover
204204 continue
205205 endpoint .relative_imports |= media_type .prop .get_lazy_imports (prefix = models_relative_prefix )
206206 endpoint .relative_imports |= media_type .prop .get_imports (prefix = models_relative_prefix )
Original file line number Diff line number Diff line change @@ -66,10 +66,6 @@ class PropertyProtocol(Protocol):
6666 def type_string (self ) -> str :
6767 return self .get_type_string ()
6868
69- @property
70- def instance_type_string (self ) -> str :
71- return self .get_instance_type_string ()
72-
7369 @abstractmethod
7470 def convert_value (self , value : Any ) -> Value | None | PropertyError :
7571 """Convert a string value to a Value object"""
You can’t perform that action at this time.
0 commit comments