HTTP Response not found for feature-info
This commit is contained in:
parent
ec71b6ed15
commit
0a480b0e02
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ async def get_projects(
|
|||
async def get_feature_info(
|
||||
store: str, id: str,
|
||||
) -> FeatureInfo:
|
||||
if store not in registry.stores.index:
|
||||
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND)
|
||||
store_record = registry.stores.loc[store]
|
||||
model = store_record.model
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue