Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dat-a-man committed Oct 15, 2024
1 parent 5f169d6 commit fda0001
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/examples/partial_loading/partial_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@
import os
import re
from dlt.common import pendulum as p
from typing import Dict, List, Iterator
from typing import Dict, List, Iterator, Sequence

import dlt
from dlt.sources import DltResource
from dlt.common.pipeline import LoadInfo
from dlt.destinations.impl.filesystem.filesystem import FilesystemClient
from dlt.sources.rest_api import RESTAPIConfig, rest_api_source


@dlt.source
def chess_com_source(username: str, months: List[Dict[str, str]]) -> Iterator[dlt.resource]:
def chess_com_source(username: str, months: List[Dict[str, str]]) -> Sequence[DltResource]:
"""
Configures and yields resources to fetch chess game data for a given user across specified months.
Expand Down

0 comments on commit fda0001

Please sign in to comment.