Skip to content

Commit

Permalink
fix: remove unneccesary whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
abdegenius committed Feb 20, 2025
1 parent 83401ee commit 268aaf7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions margin_app/app/models/liquidation.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import uuid
from datetime import datetime
from decimal import Decimal

from sqlalchemy import DateTime, String, ForeignKey
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.orm import Mapped, mapped_column

from app.models.base import BaseModel

class Liquidation(BaseModel):

"""
Liquidation Model
Expand All @@ -19,7 +15,6 @@ class Liquidation(BaseModel):
bonus_token (str): The token in which the bonus is given.
created_at (datetime): Timestamp indicating when the liquidation was created.
"""

margin_position_id: Mapped[UUID] = mapped_column(UUID(as_uuid=True), ForeignKey("margin_position.id"), nullable=False)
bonus_amount: Mapped[Decimal] = mapped_column(nullable=False)
bonus_token: Mapped[str] = mapped_column(String, nullable=False)
Expand Down

0 comments on commit 268aaf7

Please # to comment.