Add get_table function.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ class Table:
|
||||
self._categories_map[category.name] = category
|
||||
|
||||
def get_category(self, category_name: str) -> Category:
|
||||
"""Retrieves category with the gven name."""
|
||||
"""Getter for specific category."""
|
||||
return self._categories_map[category_name]
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user