Skip to content

[security-attestation] mypy: function has duplicate type signatures #23357

Description

There are duplicate type signatures present in this function which prevents mypy from continuing to run checks:

async def _get_signers(
self, **kwargs: Any
): # type: (Any) -> list[AttestationSigner]

This prevents customers from getting typing information from the package.

This is reproducible by running mypy==0.931 at the package level directory:

azure-sdk-for-python\sdk\attestation\azure-security-attestation>python -m mypy ./azure
azure\security\attestation\aio\_client_async.py:376: error: Function has duplicate type signatures
Found 1 error in 1 file (errors prevented further checking)

Metadata

Metadata

Assignees

No one assigned

    Labels

    AttestationClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions