-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64582b7
commit 8d07b09
Showing
1 changed file
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
from os import path | ||
""" | ||
TODO: species spefic endpoints: | ||
- get the list of species | ||
- get the list of sub-species (for each species) | ||
""" | ||
|
||
from fastapi import APIRouter, Depends, status, HTTPException | ||
from fastapi.responses import FileResponse | ||
from sqlalchemy.orm import Session | ||
|
||
from src.dependencies import get_db | ||
|
||
from src.models.responses import ErrorMessage | ||
|
||
from src.database.crud import get_image | ||
from fastapi import APIRouter | ||
|
||
|
||
router = APIRouter( | ||
prefix="/species", | ||
tags=["species"], | ||
) | ||
|
||
|
||
# TODO: species spefic endpoints: | ||
# - get the list of species | ||
# - get the list of sub-species (for each species) |