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