Skip to content

Commit

Permalink
Move ephemeris tools to lvmopstools 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 27, 2024
1 parent 174a681 commit b77ed35
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 205 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"sdsstools>=1.8.1",
"fastapi[standard]>=0.112.0",
"lvmgort>=1.1.2",
"lvmopstools[influxdb,kubernetes]>=0.4.0",
"lvmopstools[influxdb,kubernetes,schedule]>=0.4.1",
"gunicorn>=22.0.0",
"uvicorn[standard]>=0.24.0",
"sdss-clu>=2.2.1",
Expand Down
3 changes: 1 addition & 2 deletions src/lvmapi/routers/ephemeris.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
from fastapi import APIRouter, Query
from pydantic import BaseModel

from lvmopstools.schedule import get_ephemeris_summary
from sdsstools import get_sjd

from lvmapi.tools.schedule import get_ephemeris_summary


class EphemerisSummaryOut(BaseModel):
"""Summary of the ephemeris."""
Expand Down
2 changes: 1 addition & 1 deletion src/lvmapi/routers/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from __future__ import annotations

from time import time
import time

from typing import Annotated

Expand Down
3 changes: 0 additions & 3 deletions src/lvmapi/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@

from .alerts import *
from .gort import *
from .influxdb import *
from .rabbitmq import *
from .redis import *
from .schedule import *
from .spectrograph import *
2 changes: 1 addition & 1 deletion src/lvmapi/tools/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
from psycopg.sql import SQL, Identifier
from pydantic import BaseModel

from lvmopstools.schedule import get_ephemeris_summary
from sdsstools import get_sjd, run_in_executor

from lvmapi import config
from lvmapi.tools.notifications import create_notification, get_notifications
from lvmapi.tools.rabbitmq import CluClient
from lvmapi.tools.schedule import get_ephemeris_summary


class ExposureDataDict(BaseModel):
Expand Down
186 changes: 0 additions & 186 deletions src/lvmapi/tools/schedule.py

This file was deleted.

27 changes: 16 additions & 11 deletions uv.lock

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

0 comments on commit b77ed35

Please sign in to comment.