Open lirenhe opened 1 day ago
For status code range https://github.com/bterlson/typespec-todo/blob/271e2d528ed60e62fbd1c24ed977ed0bc8952fba/main.tsp#L140-L144, Python emitter doesn't support it now: https://github.com/bterlson/typespec-todo/blob/ac50ff69ebdbcce3aa2a4b3fd3edeffe028c5347/output-python/todo/operations/_operations.py#L293-L299. We need some additional work to support it.
duplicated issue for https://github.com/Azure/autorest.python/issues/2940
Need to generate the error model from the following definition:
Please also verify we could map the error by status code correctly.