Skip to content

[Bug]: [Python] Emitted code failed linting #11729

Description

@msftsettiy

Describe the bug

Emitted code in the confidentialledger SDK failed linting due to the use of type() over isinstance()

Reproduction

The file that failed the linting is https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/confidentialledger/azure-confidentialledger-certificate/azure/confidentialledger/certificate/_utils/model_base.py. Line numbers 820, 823 and 829 failed linting.

Link to the failed build https://dev.azure.com/azure-sdk/public/_build/results?buildId=6714589&view=results

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingemitter: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