Skip to content

Commit

Permalink
chore: fix comments (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjike2021 authored Jun 25, 2024
1 parent 84f8658 commit 9168948
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dipdup/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ async def preload_cached_models(package: str | None) -> None:
def guess_decimal_precision(package: str | None) -> int:
"""Guess decimal precision from project models.
Doesn't work for realy big numbers.
Doesn't work for really big numbers.
"""
prec = 0
for _, model in iter_models(package):
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/datasources/tezos_tzkt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ async def _on_subscribe(message: CompletionMessage) -> None:
await event.wait()

async def _request_values_dict(self, *args: Any, **kwargs: Any) -> tuple[dict[str, Any], ...]:
# NOTE: basicaly this function create dict from list of tuples request
# NOTE: basically this function create dict from list of tuples request
# NOTE: this is necessary because for TZKT API cursor iteration is more efficient and asking only values is more efficient too """
try:
fields = kwargs.get('params', {})['select.values'].split(',')
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/indexes/tezos_operations/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ async def fetch(self) -> None:
class OperationsFetcher(TezosTzktFetcher[TezosOperationData]):
"""Fetches operations from multiple REST API endpoints, merges them and yields by level.
Offet of every endpoint is tracked separately.
Offset of every endpoint is tracked separately.
"""

def __init__(
Expand Down

0 comments on commit 9168948

Please sign in to comment.