Skip to content

VSCode / Pylance complaints about type annotation issues the libraries #1458

@asdkant-ey

Description

@asdkant-ey

Version

4.11

Describe the bug

VSCode's pylance complained about this, the message was:

List expression not allowed in type annotation
  Use List[T] instead

Screenshots

image

Additional context

I'll add a PR for the instance of this I've found, but a code scan of the whole repo for this issue would be a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SDKGeneral SDK issues that don't clearly map to other areas (e.g.: helper methods)Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions