Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosmicpython/code
/ endpoints
Endpoints
6 in github.com/cosmicpython/code
⨍
Functions
133
◇
Types & classes
26
↳
Endpoints
6
Route
add_batch
app.route("/add_batch", methods=["POST"])
src/allocation/entrypoints/flask_app.py:None
Route
allocate_endpoint
app.route("/allocate", methods=["POST"])
src/allocation/entrypoints/flask_app.py:None
Route
allocations_view_endpoint
app.route("/allocations/<orderid>", methods=["GET"])
src/allocation/entrypoints/flask_app.py:None
Route
test_change_batch_quantity_leading_to_reallocation
pytest.mark.usefixtures("postgres_db")
tests/e2e/test_external_events.py:None
Route
test_happy_path_returns_202_and_batch_is_allocated
pytest.mark.usefixtures("postgres_db")
tests/e2e/test_api.py:None
Route
test_unhappy_path_returns_400_and_error_message
pytest.mark.usefixtures("postgres_db")
tests/e2e/test_api.py:None