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

Optional engine_adapter_callback #2427

Merged

Conversation

michelzurkirchen
Copy link
Contributor

@michelzurkirchen michelzurkirchen commented Mar 21, 2025

Description

The parameter engine_adapter_callback on the source sql_database wasn't optional, which caused an issue with type checking, as the parameter isn't actually required. This PR makes the parameter optional.

Related Issues

This is a partial fix for issue 2415. It adresses the initial finding regarding engine_adapter_callback, it doesn't address the more general issue of the mypy setting strict_optional=false.

Additional Context

Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit ce233a0
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/67dd42b48f0d300008f95fd0

@michelzurkirchen michelzurkirchen marked this pull request as ready for review March 21, 2025 11:03
@sh-rp
Copy link
Collaborator

sh-rp commented Mar 24, 2025

@michelzurkirchen thanks :) merging this.

@sh-rp sh-rp merged commit 89e29a9 into dlt-hub:devel Mar 24, 2025
84 of 87 checks passed
zilto pushed a commit that referenced this pull request Mar 25, 2025
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.

None yet

2 participants