Skip to main content
Version: 1.5.0 (latest)

sources.rest_api.typing

PaginatorTypeConfig Objects

class PaginatorTypeConfig(TypedDict)

[view_source]

type

noqa

PageNumberPaginatorConfig Objects

class PageNumberPaginatorConfig(PaginatorTypeConfig)

[view_source]

A paginator that uses page number-based pagination strategy.

OffsetPaginatorConfig Objects

class OffsetPaginatorConfig(PaginatorTypeConfig)

[view_source]

A paginator that uses offset-based pagination strategy.

HeaderLinkPaginatorConfig Objects

class HeaderLinkPaginatorConfig(PaginatorTypeConfig)

[view_source]

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

JSONLinkPaginatorConfig Objects

class JSONLinkPaginatorConfig(PaginatorTypeConfig)

[view_source]

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]

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

AuthTypeConfig Objects

class AuthTypeConfig(TypedDict)

[view_source]

type

noqa

BearerTokenAuthConfig Objects

class BearerTokenAuthConfig(TypedDict)

[view_source]

Uses token for Bearer authentication in "Authorization" header.

type

noqa

ApiKeyAuthConfig Objects

class ApiKeyAuthConfig(AuthTypeConfig)

[view_source]

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]

Uses HTTP basic authentication

OAuth2ClientCredentialsConfig Objects

class OAuth2ClientCredentialsConfig(AuthTypeConfig)

[view_source]

Uses OAuth 2.0 client credential authorization

ParamBindConfig Objects

class ParamBindConfig(TypedDict)

[view_source]

type

noqa

ProcessingSteps Objects

class ProcessingSteps(TypedDict)

[view_source]

filter

noqa: A003

map

noqa: A003

ResourceBase Objects

class ResourceBase(TResourceHintsBase)

[view_source]

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.