"""Logic for working with stores.""" from availability.models import store def get_store_by_id(store_id): """Get store data from db by store id. Args: store_id (int): Store PK. Returns: response.Response: Store.as_dict() in message attribute or error response. """ return store.get_store_by_id(store_id)