Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyu-li-cb committed Oct 2, 2024
1 parent 550a7cd commit d6f7646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdp/historical_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, amount: Decimal, asset: Asset, block_height: str, block_hash:
self._block_hash = block_hash

@classmethod
def from_model(model: HistoricalBalanceModel) -> "HistoricalBalance":
def from_model(cls, model: HistoricalBalanceModel) -> "HistoricalBalance":
"""Create a Balance instance from a model.
Args:
Expand Down

0 comments on commit d6f7646

Please sign in to comment.