Skip to content

Commit

Permalink
Additional changes for alerts commits
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jul 15, 2024
1 parent d73d627 commit 7cc06f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include = ["src/lvmapi/data/*"]

[tool.poetry.dependencies]
python = "^3.11,<4"
sdsstools = "^1.2.0"
sdsstools = "^1.8.1"
fastapi = ">=0.100.0"
gunicorn = "^22.0.0"
uvicorn = {extras = ["standard"], version = ">=0.24.0"}
Expand Down
2 changes: 2 additions & 0 deletions src/lvmapi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from lvmapi import auth
from lvmapi.routers import (
alerts,
enclosure,
ephemeris,
macros,
Expand All @@ -33,6 +34,7 @@
app.include_router(weather.router)
app.include_router(macros.router)
app.include_router(enclosure.router)
app.include_router(alerts.router)


@app.get("/")
Expand Down
1 change: 1 addition & 0 deletions src/lvmapi/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@


Spectrographs = Literal["sp1", "sp2", "sp3"]
SpecStatus = Literal["idle", "exposing", "reading", "error", "unknown"]
Cameras = Literal["r", "z", "b"]
CamSpec = Literal["r1", "z1", "b1", "r2", "z2", "b2", "r3", "z3", "b3"]
Sensors = Literal["ccd", "ln2"]
Expand Down

0 comments on commit 7cc06f6

Please sign in to comment.