PY-73099 Support PEP 705 – TypedDict: Read-only items

GitOrigin-RevId: 24820bf7c9362d3b675ebfca16805744404ac2e9
This commit is contained in:
Andrey Vokin
2024-08-13 05:42:28 +02:00
committed by intellij-monorepo-bot
parent f4a04d15b6
commit 1be521e041
9 changed files with 115 additions and 54 deletions

View File

@@ -1070,6 +1070,7 @@ INSP.NAME.typed.dict=Invalid TypedDict definition and usages
INSP.typeddict.typeddict.key.must.be.string.literal.expected.one=TypedDict key must be a string literal; expected one of ({0})
INSP.typeddict.typeddict.has.no.key=TypedDict "{0}" has no key ''{1}''
INSP.typeddict.typeddict.has.no.keys=TypedDict "{0}" has no keys ({1})
INSP.typeddict.typeddict.field.is.readonly=TypedDict key "{0}" is ReadOnly
INSP.typeddict.first.argument.has.to.match.variable.name=First argument has to match the variable name
INSP.typeddict.typeddict.cannot.inherit.from.non.typeddict.base.class=TypedDict cannot inherit from a non-TypedDict base class
INSP.typeddict.specifying.metaclass.not.allowed.in.typeddict=Specifying a metaclass is not allowed in TypedDict