Skip to content
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

[daggy-u] update usage of context.add_output_metadata with MaterializeResult #19575

Conversation

cmpadden
Copy link
Contributor

@cmpadden cmpadden commented Feb 2, 2024

Summary & Motivation

With Dagster University being upgraded to v1.6, we should update our usage of context.add_output_metadata to returning a MaterializeResult with the metadata defined as a parameter.

The corresponding changes to project-dagster-university can be found here:

dagster-io/project-dagster-university#8

How I Tested These Changes

Copy link
Contributor Author

cmpadden commented Feb 2, 2024

@cmpadden cmpadden marked this pull request as ready for review February 5, 2024 14:38
@cmpadden
Copy link
Contributor Author

cmpadden commented Feb 5, 2024

@erinkcochran87 thank you for the feedback - I've made changes to address your comments. Let me know if there is anything else!

@cmpadden
Copy link
Contributor Author

cmpadden commented Feb 6, 2024

@erinkcochran87, have you experienced failed Vercel aliases like this in the past? My theory is that it has to do with the branch name generated by Graphite, but I'm not 100% certain.

Assigning alias 02-02--daggy-u-update-usage-of-context-add-output-metadata-with-MaterializeResult.dagster.dagster-docs.io to deployment dagster-docs-uk8dc91qa-elementl.vercel.app
Creating alias
Error! Invalid alias. Please confirm that the alias you provided is a valid hostname. Note: For `vercel.app`, only sub and sub-sub domains are supported.```

@erinkcochran87
Copy link
Contributor

@cmpadden I have no idea - I don't use Graphite 😬

Base automatically changed from 02-02-_dagster_u_bump_project_dagster_university_start_to_1.6._ to master February 6, 2024 17:49
@cmpadden cmpadden merged commit 1054bde into master Feb 6, 2024
1 of 2 checks passed
@cmpadden cmpadden deleted the 02-02-_daggy-u_update_usage_of_context.add_output_metadata_with_MaterializeResult_ branch February 6, 2024 17:49
rexledesma pushed a commit that referenced this pull request Feb 9, 2024
…lizeResult` (#19575)

## Summary & Motivation

With Dagster University being upgraded to v1.6, we should update our
usage of `context.add_output_metadata` to returning a
`MaterializeResult` with the `metadata` defined as a parameter.

The corresponding changes to `project-dagster-university` can be found
here:

dagster-io/project-dagster-university#8

## How I Tested These Changes

---------

Co-authored-by: Erin Cochran <[email protected]>
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