|
@ -203,7 +203,7 @@ class Section(Item[V]): |
|
|
|
|
|
|
|
|
return self |
|
|
return self |
|
|
|
|
|
|
|
|
def get_item_by_id(self, id: int, /) -> Optional[Item[V]]: |
|
|
def get_item(self, id: int, /) -> Optional[Item[V]]: |
|
|
"""Gets an item with :attr:`Item.id` set as ``id``, or ``None`` if |
|
|
"""Gets an item with :attr:`Item.id` set as ``id``, or ``None`` if |
|
|
not found. |
|
|
not found. |
|
|
|
|
|
|
|
|