Skip to main content
Version: devel

dlt.sources.rest_api.typing

PaginatorTypeConfig Objects​

class PaginatorTypeConfig(TypedDict)

View source on GitHub

type​

noqa

PageNumberPaginatorConfig Objects​

class PageNumberPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

A paginator that uses page number-based pagination strategy.

OffsetPaginatorConfig Objects​

class OffsetPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

A paginator that uses offset-based pagination strategy.

HeaderLinkPaginatorConfig Objects​

class HeaderLinkPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

A paginator that uses the 'Link' header in HTTP responses for pagination.

JSONLinkPaginatorConfig Objects​

class JSONLinkPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

Locates the next page URL within the JSON response body. The key containing the URL can be specified using a JSON path.

JSONResponseCursorPaginatorConfig Objects​

class JSONResponseCursorPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

Uses a cursor parameter for pagination, with the cursor value found in the JSON response body.

HeaderCursorPaginatorConfig Objects​

class HeaderCursorPaginatorConfig(PaginatorTypeConfig)

View source on GitHub

A paginator that uses a cursor in the HTTP response header for pagination.

AuthTypeConfig Objects​

class AuthTypeConfig(TypedDict)

View source on GitHub

type​

noqa

BearerTokenAuthConfig Objects​

class BearerTokenAuthConfig(TypedDict)

View source on GitHub

Uses token for Bearer authentication in "Authorization" header.

type​

noqa

ApiKeyAuthConfig Objects​

class ApiKeyAuthConfig(AuthTypeConfig)

View source on GitHub

Uses provided api_key to create authorization data in the specified location (query, param, header, cookie) under specified name

HttpBasicAuthConfig Objects​

class HttpBasicAuthConfig(AuthTypeConfig)

View source on GitHub

Uses HTTP basic authentication

OAuth2ClientCredentialsConfig Objects​

class OAuth2ClientCredentialsConfig(AuthTypeConfig)

View source on GitHub

Uses OAuth 2.0 client credential authorization

ParamBindConfig Objects​

class ParamBindConfig(TypedDict)

View source on GitHub

type​

noqa

ProcessingSteps Objects​

class ProcessingSteps(TypedDict)

View source on GitHub

filter​

noqa: A003

map​

noqa: A003

yield_map​

noqa: A003

ResourceBase Objects​

class ResourceBase(TResourceHintsBase)

View source on GitHub

Defines hints that may be passed to dlt.resource decorator

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.