Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/1406 bumps duckdb 0.10 #1407

Merged
merged 2 commits into from
May 25, 2024
Merged

Feat/1406 bumps duckdb 0.10 #1407

merged 2 commits into from
May 25, 2024

Conversation

rudolfix
Copy link
Collaborator

@rudolfix rudolfix commented May 24, 2024

Description

  1. bumps duckdb to 0.10
  2. enables dbt 1.8

Copy link

netlify bot commented May 24, 2024

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit f1740aa
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/6651d1216fa64c0008f95cd6

@@ -57,7 +59,7 @@ class RESTClient:
Args:
base_url (str): The base URL of the API to make requests to.
headers (Optional[Dict[str, str]]): Default headers to include in all requests.
auth (Optional[AuthConfigBase]): Authentication configuration for all requests.
auth (Optional[AuthBase]): Authentication configuration for all requests.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it work with out existing authenticators from dlt.sources.helpers.rest_client.auth which derive from AuthConfigBase? E.g., from our example code:

from dlt.sources.helpers.rest_client import RESTClient
from dlt.sources.helpers.rest_client.auth import BearerTokenAuth

client = RESTClient(
    base_url="https://api.example.com",
    auth=BearerTokenAuth(token="your_access_token_here")  # type: ignore
)

for page in client.paginate("/protected/resource"):
    print(page)

Shouldn't it be a union of AuthConfigBase and AuthBase instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is due to linting problems that I merged from #1398 so I reverted it and we continue this review in #1413

@rudolfix rudolfix force-pushed the feat/1406-bumps-duckdb-0.10 branch from d3fd1ed to 6306270 Compare May 25, 2024 11:09
@rudolfix rudolfix force-pushed the feat/1406-bumps-duckdb-0.10 branch from 6306270 to f1740aa Compare May 25, 2024 11:53
@rudolfix rudolfix merged commit 67ccacd into devel May 25, 2024
48 of 50 checks passed
@rudolfix rudolfix deleted the feat/1406-bumps-duckdb-0.10 branch May 25, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants