Skip to content

[typespec-python] Emitter unable to generate blob spec #7756

Open
@catalinaperalta

Description

@catalinaperalta

Tried to generate with the blob storage spec and ran into an issue with the generator, seems it has an issue with the definition of a paged operation. I think it might be due to some uncommon behavior that the blob spec defines, but that's just a guess. Sharing the error output below.

Command used (with latest main of the python repo): tsp-client init -c https://github.com/Azure/azure-rest-api-specs/blob/0fb24e5a13f2eaa86af724acef4b725d0b3d0ca7/specification/storage/Microsoft.BlobStorage/tspconfig.yaml

Maybe this issue is related to the paging implementation in storage: [Bug]: current PagingOperation output does not support pageable decorator in nested properties · Issue #5208 · microsoft/typespec

blob-error.txt

cc @msyyc @tadelesh @iscai-msft

Metadata

Metadata

Assignees

Labels

emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-python

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions