mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
PY-53611 Add support of Required and NotRequired TypedDict type specifications (PEP-655)
Makes it possible to mark individual TypedDict keys as required or not required, covered in [PEP-655](https://peps.python.org/pep-0655/) GitOrigin-RevId: 6567fd1009430e37f32924eb29ab8b4a1a17f315
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9f85df2165
commit
6bdc3d4237
@@ -1124,6 +1124,9 @@ INSP.typeddict.value.must.be.type=Value must be a type
|
||||
INSP.typeddict.total.value.must.be.true.or.false=Value of 'total' must be True or False
|
||||
INSP.typeddict.typeddict.cannot.have.key=TypedDict "{0}" cannot have key ''{1}''
|
||||
INSP.typeddict.cannot.add.non.string.key.to.typeddict=Cannot add a non-string key to TypedDict "{0}"
|
||||
INSP.typeddict.required.notrequired.cannot.be.used.outside.typeddict.definition=''{0}'' can be used only in a TypedDict definition
|
||||
INSP.typeddict.cannot.be.required.and.not.required.at.the.same.time=Key cannot be required and not required at the same time
|
||||
INSP.typeddict.required.notrequired.must.have.exactly.one.type.argument=''{0}'' must have exactly one type argument
|
||||
|
||||
# PyTypeHintsInspection
|
||||
INSP.NAME.type.hints=Invalid type hints definitions and usages
|
||||
|
||||
Reference in New Issue
Block a user