Skip to content

Commit

Permalink
chore: remove unused code (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
bathienle authored Nov 21, 2024
1 parent b085f9d commit ad33222
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
8 changes: 0 additions & 8 deletions pims/api/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,3 @@ async def _show_drawing(
z_reduction,
t_reduction,
)


def show_spectra(filepath, body):
pass


def show_footprint(filepath, body):
pass
8 changes: 0 additions & 8 deletions pims/api/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ async def import_direct_chunks(
)


def import_(filepath, body):
pass


@router.get("/file/{filepath:path}/export", tags=["Export"])
def export_file(background: BackgroundTasks, path: Path = Depends(filepath_parameter)):
"""
Expand Down Expand Up @@ -228,10 +224,6 @@ def cleanup(tmp):
return FileResponse(upload_file, media_type=media_type, filename=upload_file.name)


def delete(filepath):
pass


async def write_file(fastapi_parser: MultiPartParser, pending_path):
"""
This function is inspired by parse(self) function from formparsers.py in fastapi>=0.65.1,<=0.68.2' used to upload a file:
Expand Down
23 changes: 0 additions & 23 deletions pims/api/spectral.py

This file was deleted.

0 comments on commit ad33222

Please sign in to comment.