Skip to content

Commit

Permalink
added query t o models
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Nov 4, 2024
1 parent 76594d2 commit 6b9889c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from datetime import datetime, timezone, timedelta
from typing import Optional

from fastapi import Query
from pydantic import BaseModel

class CreateSatspot(BaseModel):
Expand All @@ -9,7 +10,6 @@ class CreateSatspot(BaseModel):
closing_date: datetime = datetime.now(timezone.utc) + timedelta(days=1)
buy_in: int = 0


class Satspot(BaseModel):
id: Optional[str] = None
wallet: Optional[str] = None
Expand Down

0 comments on commit 6b9889c

Please sign in to comment.