-
Notifications
You must be signed in to change notification settings - Fork 415
fix: top level relation #2983
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
fix: top level relation #2983
Conversation
✅ Deploy Preview for dlt-hub-docs canceled.
|
|
Closing because |
rudolfix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this LGTM and we can merge. there's one question before we do it:
now the typing user sees is SupportsRelation, not Relation. same for Dataset.
in case of other top level objects: Pipeline, Destination (this is generic and typically a concrete type is seen) DltResourceandDltSource`
should we clean that up? I think we can do that in backward compatible way. I prefer simple names like Relation or Pipeline.
Related
dlt.Datasetanddlt.Relation#2896 using more detailed commits andgit mvdatasetto be top level #2611Features:
dlt.dataset()dlt.datasetand functiondlt.dataset()by naming moduledlt._datasetinstead.dlt.Relation(atdlt.dataset.relation::Relation) anddlt.Dataset(atdlt.dataset.dataset::Dataset)dlt.Relation(atdlt.common.destination.dataset::Dataset) todlt.common.destination.dataset::SupportsDataset(removed top-level); same fordlt.Dataset -> SupportsDatasetContext