Skip to content

ValidationInfo.context may be None, Pylance reports "get" is not a known attribute of "None" #1588

Open
@johnwlockwood

Description

@johnwlockwood

chunks = context.get("chunks", [])

"get" is not a known attribute of "None" PylancereportOptionalMemberAccess

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpythonPull requests that update python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions