Fix variable type hint

This commit is contained in:
Gregoo 2025-01-29 19:28:23 +01:00
parent 0ad9cff7a0
commit c9da6a67d8

View File

@ -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: