Azure / autorest.python

Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
MIT License
76 stars 54 forks source link

[DPG] Mypy fails on list methods #2271

Closed sarkar-rajarshi closed 7 months ago

sarkar-rajarshi commented 7 months ago

List method signature returns (Async)Iterable[T] (incorrectly) whereas it actually returns (Async)ItemPaged[T] (correctly). This cause mypy type checker to fail.

cc: @kristapratico

kristapratico commented 7 months ago

@sarkar-rajarshi this issue is tracked in https://github.com/Azure/autorest.python/issues/2262

sarkar-rajarshi commented 7 months ago

Okay, in that closing this since this is duplicate