Fix variable type hint
This commit is contained in:
parent
b2d2019bfd
commit
51f729a18b
@ -146,7 +146,7 @@ class BrickPart(RebrickablePart):
|
||||
|
||||
# Update the missing part
|
||||
def update_missing(self, json: Any | None, /) -> None:
|
||||
missing = json.get('value', '') # type: ignore
|
||||
missing: str | int = json.get('value', '') # type: ignore
|
||||
|
||||
# We need a positive integer
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user