Fix functions definition

This commit is contained in:
Gregoo 2025-01-29 18:12:39 +01:00
parent 066843fc3c
commit 5a45cb3549
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ if TYPE_CHECKING:
# 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')
return {

View File

@ -74,7 +74,7 @@ class BrickPart(RebrickablePart):
return True
# A identifier for HTML component
def html_id(self) -> str:
def html_id(self, /) -> str:
components: list[str] = ['part']
if self.fields.figure is not None: