Closed burnash closed 1 month ago
dlt init <source> <destination> initializes a new <source>. When <source> is not found in the verified-sources repo it uses one of the two templates:
dlt init <source> <destination>
<source>
Both of the templates above use dlt.sources.helpers.requests to make HTTP calls. The task is to convert both templates to use RESTClient instead of dlt.sources.helpers.requests.
dlt.sources.helpers.requests
@burnash this should be moved to verified sources repo once assigned, right?
TODO: Update the pipeline tutorial
@burnash I will use pokemon api to showcase pagination for --generic template
--generic
Background
dlt init <source> <destination>
initializes a new<source>
. When<source>
is not found in the verified-sources repo it uses one of the two templates:Both of the templates above use
dlt.sources.helpers.requests
to make HTTP calls. The task is to convert both templates to use RESTClient instead ofdlt.sources.helpers.requests
.