Skip to content

TypedDict NotRequired key narrowing + access error #84

@yangdanny97

Description

@yangdanny97

I believe this is optional in the typing spec

  1. support narrowing a NotRequired key to be Required using in and .get()
  2. warn on accessing NotRequired keys that have not been narrowed

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions