Compare commits
2 Commits
98abc79a8e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| df2f8eaed1 | |||
| 2d026d8b16 |
@@ -5,7 +5,7 @@ from app.routers import acquire
|
||||
from app.routers import release
|
||||
|
||||
from app.storage import mongo
|
||||
from daemons import base
|
||||
from app.daemons import base
|
||||
|
||||
|
||||
class Daemon(base.Daemon):
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
import datetime
|
||||
import fastapi
|
||||
import pydantic
|
||||
|
||||
from app.storage.mongo import locks
|
||||
from app.utils import time
|
||||
|
||||
|
||||
class RequestBody(pydantic.BaseModel):
|
||||
name: str
|
||||
ttl: int
|
||||
|
||||
|
||||
router = fastapi.APIRouter()
|
||||
|
||||
Reference in New Issue
Block a user