diff --git a/hub/persistence/db_control.py b/hub/persistence/db_control.py index 7ce19c3a..06703eee 100644 --- a/hub/persistence/db_control.py +++ b/hub/persistence/db_control.py @@ -252,3 +252,6 @@ class DBControl: :param application_uuid: the id of the application to get """ self._application.delete(application_uuid) + + def get_city(self, city_id): + return self._city.get_by_id(city_id)