Skip to content

define sling asset using source and target connections #17907

Answered by PedramNavid
dagsir[bot] bot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I think I need more context. What does source and target refer to here?

sling_resource = SlingResource(
    source_connection=SlingSourceConnection(type="file"),
    target_connection=SlingTargetConnection(
        type="sqlite", connection_string="sqlite://path/to/sqlite.db"
    ),
)

You can certainly use a source/target connection like above.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PedramNavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
integration: embedded-elt Related to dagster-embedded-elt which uses Sling and data Load Tool (dlt)
1 participant