Remove unused html_id for sets
This commit is contained in:
parent
17d1bc8fc3
commit
386a1396da
@ -139,17 +139,6 @@ class BrickSet(RebrickableSet):
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# A identifier for HTML component
|
|
||||||
def html_id(self, prefix: str | None = None, /) -> str:
|
|
||||||
components: list[str] = []
|
|
||||||
|
|
||||||
if prefix is not None:
|
|
||||||
components.append(prefix)
|
|
||||||
|
|
||||||
components.append(self.fields.id)
|
|
||||||
|
|
||||||
return '-'.join(components)
|
|
||||||
|
|
||||||
# Minifigures
|
# Minifigures
|
||||||
def minifigures(self, /) -> BrickMinifigureList:
|
def minifigures(self, /) -> BrickMinifigureList:
|
||||||
return BrickMinifigureList().from_set(self)
|
return BrickMinifigureList().from_set(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user