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

[dagster-airlift] Airflow-dagster equivalents #26112

Open
wants to merge 3 commits into
base: dpeng817/python_operator_docs
Choose a base branch
from

Conversation

dpeng817
Copy link
Contributor

Summary & Motivation

How I Tested These Changes

Changelog

Insert changelog entry or delete this section.

@dpeng817 dpeng817 force-pushed the dpeng817/python_operator_docs branch from 8365a1f to 267d5ec Compare November 24, 2024 04:36
@dpeng817 dpeng817 force-pushed the dpeng817/airflow-dagster-equivalents branch 2 times, most recently from c931603 to 10abc83 Compare November 24, 2024 04:40
@dpeng817 dpeng817 force-pushed the dpeng817/python_operator_docs branch from 267d5ec to 7f90cc5 Compare November 24, 2024 04:57
@dpeng817 dpeng817 force-pushed the dpeng817/airflow-dagster-equivalents branch from 10abc83 to 844a298 Compare November 24, 2024 04:57
@dpeng817 dpeng817 marked this pull request as ready for review November 24, 2024 04:57
@graphite-app graphite-app bot added the docs-to-migrate Docs to migrate to new docs site label Nov 24, 2024
@dpeng817 dpeng817 force-pushed the dpeng817/python_operator_docs branch from 7f90cc5 to e7d0535 Compare November 24, 2024 04:59
@dpeng817 dpeng817 force-pushed the dpeng817/airflow-dagster-equivalents branch from 844a298 to 2534e40 Compare November 24, 2024 04:59
Copy link

graphite-app bot commented Nov 24, 2024

Graphite Automations

"Add a 'docs-to-migrate' label to PRs with docs" took an action on this PR • (11/24/24)

1 label was added to this PR based on Christopher DeCarolis's automation.

@dpeng817 dpeng817 force-pushed the dpeng817/python_operator_docs branch from e7d0535 to b84bce9 Compare November 24, 2024 18:04
@dpeng817 dpeng817 force-pushed the dpeng817/airflow-dagster-equivalents branch 2 times, most recently from cba5d13 to 781771a Compare November 24, 2024 18:07
Comment on lines +9 to +10
def _s3_file(context):
boto3.client("s3").upload_file(path)
Copy link

Choose a reason for hiding this comment

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

The context parameter is unused and can be removed. The upload_file call is missing required parameters - the correct signature is:

boto3.client('s3').upload_file(path, 'bucket', path)

where bucket is the destination S3 bucket name and the final path argument specifies the S3 key.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@dpeng817 dpeng817 force-pushed the dpeng817/python_operator_docs branch from b84bce9 to 3b3ee96 Compare November 24, 2024 18:11
@dpeng817 dpeng817 force-pushed the dpeng817/airflow-dagster-equivalents branch from 781771a to 5786b87 Compare November 24, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-to-migrate Docs to migrate to new docs site
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant