Skip to content

Deprecate top-level functions in Python modules - #8074

Merged
helderco merged 2 commits into
dagger:mainfrom
helderco:sdk/python/top-level-functions
Aug 1, 2024
Merged

helderco merged 2 commits into
dagger:mainfrom
helderco:sdk/python/top-level-functions

Conversation

@helderco

@helderco helderco commented Aug 1, 2024 •

Copy link
Copy Markdown
Contributor

This isn't visibile to the user until we solve:

This is an historical feature from early days in Modules development. We hid it before the Modules launch, so it was never documented. The important thing here is just the announcement and the change log, to give a heads up that it will be removed, but if there's anyone using it it's probably from those early days.

The reason for this deprecation is explained in:

At the time it just became hidden or undocumented, but now want to simplify and remove it.

@helderco helderco added this to the v0.12.4 milestone Aug 1, 2024
@helderco
helderco requested a review from jedevc August 1, 2024 11:18
@helderco
helderco requested a review from a team as a code owner August 1, 2024 11:18
Signed-off-by: Helder Correia <[email protected]>
@helderco
helderco force-pushed the sdk/python/top-level-functions branch from d14d0aa to 1e7085d Compare August 1, 2024 11:29

@jedevc jedevc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SGTM - can you also add this as a list item to #8065? That way we remember to remove it.

@helderco helderco mentioned this pull request Aug 1, 2024
1 of 2 tasks
@helderco
helderco merged commit 662c412 into dagger:main Aug 1, 2024
@helderco
helderco deleted the sdk/python/top-level-functions branch August 1, 2024 11:45
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