Fix functions definition

This commit is contained in:
Gregoo 2025-01-31 16:37:42 +01:00
parent 7047a28845
commit cffe844d79

View File

@ -103,12 +103,7 @@ class BrickSetList(BrickRecordList[BrickSet]):
return self
# Sets missing a part
def missing_part(
self,
part: str,
color: int,
/
) -> Self:
def missing_part(self, part: str, color: int, /) -> Self:
# Save the parameters to the fields
self.fields.part = part
self.fields.color = color
@ -141,12 +136,7 @@ class BrickSetList(BrickRecordList[BrickSet]):
return self
# Sets using a part
def using_part(
self,
part: str,
color: int,
/
) -> Self:
def using_part(self, part: str, color: int, /) -> Self:
# Save the parameters to the fields
self.fields.part = part
self.fields.color = color