Fix variable type hint
This commit is contained in:
parent
0ad9cff7a0
commit
c9da6a67d8
@ -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