Skip to content

Commit

Permalink
Merge pull request #278 from DNO-inc/bodya
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
m-o-d-e-r authored Dec 25, 2023
2 parents 4d0f0a4 + c91f531 commit 6f00a12
Show file tree
Hide file tree
Showing 9 changed files with 1,019 additions and 867 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ endif
run:
$(PYTHON) -m burrito

profiling:
python -m cProfile -o shadow/profiling/profiling.pstats -m burrito

profiling_check:
gprof2dot -f pstats shadow/profiling/profiling.pstats | dot -Tpng -o shadow/profiling/profiling.png && eog shadow/profiling/profiling.png

tres:
docker run --rm -p80:80 tres

Expand Down
12 changes: 6 additions & 6 deletions burrito/apps/iofiles/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
methods=["POST"]
)

iofiles_router.add_api_route(
"/{file_id}",
iofiles__get_file,
methods=["GET"]
)

iofiles_router.add_api_route(
"/get_file_ids",
iofiles__get_file_ids,
Expand All @@ -33,3 +27,9 @@
iofiles__delete_file,
methods=["POST"]
)

iofiles_router.add_api_route(
"/{file_id}",
iofiles__get_file,
methods=["GET"]
)
Loading

0 comments on commit 6f00a12

Please sign in to comment.