Fix functions definition
This commit is contained in:
parent
56ad9fba13
commit
728e0050b3
@ -5,7 +5,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
|
|
||||||
# Grab the list of checkboxes to create a list of SQL columns
|
# Grab the list of checkboxes to create a list of SQL columns
|
||||||
def migration_0007(self: 'BrickSQL') -> dict[str, Any]:
|
def migration_0007(self: 'BrickSQL', /) -> dict[str, Any]:
|
||||||
records = self.fetchall('checkbox/list')
|
records = self.fetchall('checkbox/list')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -74,7 +74,7 @@ class BrickPart(RebrickablePart):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
# A identifier for HTML component
|
# A identifier for HTML component
|
||||||
def html_id(self) -> str:
|
def html_id(self, /) -> str:
|
||||||
components: list[str] = ['part']
|
components: list[str] = ['part']
|
||||||
|
|
||||||
if self.fields.figure is not None:
|
if self.fields.figure is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user