Skip to content

[core-api] base #26770

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

Merged
merged 4 commits into from
Feb 7, 2025
Merged

[core-api] base #26770

merged 4 commits into from
Feb 7, 2025

Conversation

OwenKephart
Copy link
Contributor

@OwenKephart OwenKephart commented Dec 31, 2024

Summary & Motivation

This is the base of the core-api-audit stack. The entire stack will be merged in at the 1.10 release, and for now to keep things tidy, changes will be merged downwards as they are approved.

This means that this PR contains only code that has been reviewed and approved in a different PR.

How I Tested These Changes

Changelog

The include_sources param on all AssetSelection APIs has been renamed to include_external_assets.

This was referenced Dec 31, 2024
OwenKephart and others added 2 commits February 6, 2025 14:20
#26707)

decision: experimental -> beta
reason: we might want to subtly change the default behavior of this
(e.g. how far down the tree it looks)
docs exist: n/a

> Insert changelog entry or delete this section.
## Summary & Motivation

decision: experimental -> public (uncertain)
reason: this has existed for years without change. even if this is not a
commonly-used API, we should probably just make the call that we're not
changing it at this point
docs exist: yes (api only, which is ok)

## How I Tested These Changes

## Changelog

> Insert changelog entry or delete this section.
@OwenKephart OwenKephart marked this pull request as ready for review February 6, 2025 22:54
Copy link
Contributor

@maximearmstrong maximearmstrong left a comment

Choose a reason for hiding this comment

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

A few comments, but LGTM!

@@ -241,7 +241,7 @@ def groups(*group_strs, include_sources: bool = False) -> "GroupsAssetSelection"

@public
@staticmethod
@experimental
@experimental_param(param="include_sources")
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we use @beta_param here?

@whitelist_for_serdes(
old_fields={"time_window_partition_scope_minutes": 1e-6},
serializer=AutoMaterializePolicySerializer,
)
@deprecated(breaking_version="1.10.0")
Copy link
Contributor

Choose a reason for hiding this comment

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

[1] Should we add a message, maybe suggesting DA?

@@ -211,7 +211,7 @@ def evaluate_for_asset(self, context: "AutomationContext") -> "AutomationResult"


@whitelist_for_serdes
@experimental
@deprecated(breaking_version="1.10.0")
Copy link
Contributor

Choose a reason for hiding this comment

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

[1]

…26710)

## Summary & Motivation

decision: experimental -> GA (after parameter change)
reason: if we're going to make this change, we should acompany it with
marking this API as stable (i.e. we should only make the name change
once). "source assets" as a concept no longer really exist, and external
assets is the more general term (and more accurate to what these
parameters were actually filtering for.
docs exist: yes (api only, which is ok)

## How I Tested These Changes

## Changelog

> Insert changelog entry or delete this section.
Copy link
Contributor Author

OwenKephart commented Feb 7, 2025

Merge activity

  • Feb 7, 6:20 PM EST: A user started a stack merge that includes this pull request via Graphite.
  • Feb 7, 6:20 PM EST: A user merged this pull request with Graphite.

@OwenKephart OwenKephart merged commit 133b1a8 into master Feb 7, 2025
3 of 4 checks passed
@OwenKephart OwenKephart deleted the core-api-audit branch February 7, 2025 23:20
OwenKephart added a commit that referenced this pull request Feb 8, 2025
deepyaman pushed a commit that referenced this pull request Feb 10, 2025
## Summary & Motivation

This is the base of the core-api-audit stack. The entire stack will be merged in at the 1.10 release, and for now to keep things tidy, changes will be merged downwards as they are approved.

This means that this PR contains only code that has been reviewed and approved in a different PR.

## How I Tested These Changes

## Changelog

The `include_sources` param on all `AssetSelection` APIs has been renamed to `include_external_assets`.
maximearmstrong added a commit that referenced this pull request Feb 11, 2025
## Summary & Motivation

As title. This PR is pending the merged of PR #26770.
deepyaman pushed a commit that referenced this pull request Feb 11, 2025
## Summary & Motivation

As title. This PR is pending the merged of PR #26770.
LoHertel pushed a commit to LoHertel/dagster that referenced this pull request Feb 11, 2025
## Summary & Motivation

This is the base of the core-api-audit stack. The entire stack will be merged in at the 1.10 release, and for now to keep things tidy, changes will be merged downwards as they are approved.

This means that this PR contains only code that has been reviewed and approved in a different PR.

## How I Tested These Changes

## Changelog

The `include_sources` param on all `AssetSelection` APIs has been renamed to `include_external_assets`.
LoHertel pushed a commit to LoHertel/dagster that referenced this pull request Feb 11, 2025
)

## Summary & Motivation

As title. This PR is pending the merged of PR dagster-io#26770.
braunjj pushed a commit that referenced this pull request Feb 14, 2025
## Summary & Motivation

This is the base of the core-api-audit stack. The entire stack will be merged in at the 1.10 release, and for now to keep things tidy, changes will be merged downwards as they are approved.

This means that this PR contains only code that has been reviewed and approved in a different PR.

## How I Tested These Changes

## Changelog

The `include_sources` param on all `AssetSelection` APIs has been renamed to `include_external_assets`.
braunjj pushed a commit that referenced this pull request Feb 14, 2025
## Summary & Motivation

As title. This PR is pending the merged of PR #26770.
brentjericho pushed a commit to brentjericho/dagster that referenced this pull request Feb 21, 2025
## Summary & Motivation

This is the base of the core-api-audit stack. The entire stack will be merged in at the 1.10 release, and for now to keep things tidy, changes will be merged downwards as they are approved.

This means that this PR contains only code that has been reviewed and approved in a different PR.

## How I Tested These Changes

## Changelog

The `include_sources` param on all `AssetSelection` APIs has been renamed to `include_external_assets`.
brentjericho pushed a commit to brentjericho/dagster that referenced this pull request Feb 21, 2025
)

## Summary & Motivation

As title. This PR is pending the merged of PR dagster-io#26770.
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