-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move destination modules to subfolder * Mockup destination factory * Destination factory replacing reference and dest __init__ * Update factories * Defer duckdb credentials resolving in pipeline context * Simplify destination config resolution * capabilities are callable * bigquery, athena factories * Add rest of factories * Cleanup * Destination type vars * Cleanup * Fix test * Create initial config from non-defaults only * Update naming convention path * Fix config in bigquery location test * Only keep non-default config args in factory * Resolve duckdb credentials in pipeline context * Cleanup * Union credentials arguments * Common tests without dest dependencies * Forward all athena arguments * Delete commented code * Reference docstrings * Add deprecation warning for credentials argument * Init docstrings for destination factories * Fix tests * Destination name in output * Correct exception in unknown destination test --------- Co-authored-by: Marcin Rudolf <[email protected]>
- Loading branch information
Showing
123 changed files
with
978 additions
and
593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
from dlt.common.destination.capabilities import DestinationCapabilitiesContext, TLoaderFileFormat, ALL_SUPPORTED_FILE_FORMATS | ||
from dlt.common.destination.reference import DestinationReference, TDestinationReferenceArg | ||
from dlt.common.destination.reference import TDestinationReferenceArg, Destination, TDestination | ||
|
||
__all__ = [ | ||
"DestinationCapabilitiesContext", | ||
"TLoaderFileFormat", | ||
"ALL_SUPPORTED_FILE_FORMATS", | ||
"DestinationReference", | ||
"TDestinationReferenceArg", | ||
"Destination", | ||
"TDestination", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from dlt.destinations.impl.postgres.factory import postgres | ||
from dlt.destinations.impl.snowflake.factory import snowflake | ||
from dlt.destinations.impl.filesystem.factory import filesystem | ||
from dlt.destinations.impl.duckdb.factory import duckdb | ||
from dlt.destinations.impl.dummy.factory import dummy | ||
from dlt.destinations.impl.mssql.factory import mssql | ||
from dlt.destinations.impl.bigquery.factory import bigquery | ||
from dlt.destinations.impl.athena.factory import athena | ||
from dlt.destinations.impl.redshift.factory import redshift | ||
from dlt.destinations.impl.qdrant.factory import qdrant | ||
from dlt.destinations.impl.motherduck.factory import motherduck | ||
from dlt.destinations.impl.weaviate.factory import weaviate | ||
|
||
|
||
__all__ = [ | ||
"postgres", | ||
"snowflake", | ||
"filesystem", | ||
"duckdb", | ||
"dummy", | ||
"mssql", | ||
"bigquery", | ||
"athena", | ||
"redshift", | ||
"qdrant", | ||
"motherduck", | ||
"weaviate", | ||
] |
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.