Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
akintewe committed Jan 17, 2025
1 parent bb4c9f7 commit 895c4f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web_app/db/crud/position.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,10 @@ def delete_all_user_positions(self, user_id: uuid.UUID) -> None:
except SQLAlchemyError as e:
logger.error(f"Error deleting positions for user {user_id}: {str(e)}")

def add_extra_deposit_to_position(self, position: Position, token_symbol: str, amount: str) -> None:
def add_extra_deposit_to_position(self,
position: Position,
token_symbol: str,
amount: str) -> None:
"""
Add or update an extra deposit for a position.
If the token already exists for this position, update its amount.
Expand Down

0 comments on commit 895c4f0

Please sign in to comment.