v7.11.1
Patch release: honest Multiplicity.max typing and idiomatic empty-list literals. A metamodel type-hint and lint cleanup with no behavioural change — it only aligns the declared types with existing runtime behaviour.
Highlights
- Honest
Multiplicity.maxinput typing: theMultiplicityconstructor andmaxsetter now declareint | Literal["*"]instead of plainint."*"has always been accepted and normalized toUNLIMITED_MAX_MULTIPLICITYat runtime, but the old signature claimedint, so callers — and static type checkers — passing"*"saw a false type error. The getter staysint, since a normalized value is always returned. - Idiomatic empty lists:
Methodparameter / precondition / postcondition initialization uses the[]literal instead oflist()(SonarQubepython:S7498).
No runtime behaviour changes, and no metamodel or API contract changes.