Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc committed Jan 14, 2025
1 parent 6c94bae commit dada044
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
)
from .parameter_list import ParameterList
from .model_type import ModelType
from .primitive_types import BinaryIteratorType
from .base import BaseType
from .combined_type import CombinedType
from .request_builder import OverloadedRequestBuilder, RequestBuilder
Expand Down Expand Up @@ -315,7 +316,7 @@ def get_request_builder_import(

@property
def need_deserialize(self) -> bool:
return any(r.type and isinstance(r.type, ModelType) for r in self.responses)
return any(r.type and not isinstance(r.type, BinaryIteratorType) for r in self.responses)

def imports( # pylint: disable=too-many-branches, disable=too-many-statements
self, async_mode: bool, **kwargs: Any
Expand Down

0 comments on commit dada044

Please sign in to comment.