allow annotations to be None
breaking change, but properties are seldom used by anyone afaik
This commit is contained in:
parent
325a8b9590
commit
9869f12475
1 changed files with 21 additions and 9 deletions
|
|
@ -5,7 +5,7 @@ from typing import Protocol
|
|||
|
||||
|
||||
layer_t = int | tuple[int, int] | str
|
||||
annotations_t = dict[str, list[int | float | str]]
|
||||
annotations_t = dict[str, list[int | float | str]] | None
|
||||
|
||||
|
||||
class SupportsBool(Protocol):
|
||||
|
|
|
|||
Loading…
Reference in a new issue