Skip to content

[http-client-python] @xml.unwrapped #9734

@l0lawrence

Description

@l0lawrence

I have the following typespec for storage-- where tags is marked with a @xml.unwrapped

the type of tags is BlobTags which has the xml.Name Tags on the model.

I'm running into an issue where when I am getting the return of FindBlobsByTags/FilterBlobs my test is giving me a NoneType error.

I dug into that test and on the FilterBlobItem model I see this generated for tags

Image

I don't know what the fix is here, but if I set name to Tags and text to False the test seems to pass -- otherwise I am running into some deserialization issues when I get here in my filter_blobs function where the tags class is None

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions