-
Notifications
You must be signed in to change notification settings - Fork 43
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
Allow users to customise the task name when using @df #126
Labels
good first issue
Good for newcomers
improvement
Enhancement or improvement in an existing feature
priority/medium
Medium priority
Milestone
Comments
tatiana
added
feature
New feature or request
good first issue
Good for newcomers
bug
Something isn't working
and removed
feature
New feature or request
bug
Something isn't working
labels
Feb 21, 2022
dimberman
added a commit
that referenced
this issue
Mar 5, 2022
Context As of Astro 0.5.1, if a user calls multiple times a function decorated with @df (example below), the tasks will be automatically named row_to_gcs_files__1. At the moment, the user cannot override the default task_id name when using @df. @df def rows_to_gcs_files() This behavior is different from the @task decorator, which allows users to specify task_id. We should make them consistent. This works: @task(task_id = 'load_json') Acceptance criteria Users are able to override the default task_id name when using the df decorator, similar to the @task decorator Ask @mag3141592 (bug reporter) to review the PR
dimberman
added a commit
that referenced
this issue
Mar 7, 2022
* Allow users to customise the task name when using @df #126 Context As of Astro 0.5.1, if a user calls multiple times a function decorated with @df (example below), the tasks will be automatically named row_to_gcs_files__1. At the moment, the user cannot override the default task_id name when using @df. @df def rows_to_gcs_files() This behavior is different from the @task decorator, which allows users to specify task_id. We should make them consistent. This works: @task(task_id = 'load_json') Acceptance criteria Users are able to override the default task_id name when using the df decorator, similar to the @task decorator Ask @mag3141592 (bug reporter) to review the PR * make optional * fix hanging test
utkarsharma2
pushed a commit
that referenced
this issue
Mar 10, 2022
* Allow users to customise the task name when using @df #126 Context As of Astro 0.5.1, if a user calls multiple times a function decorated with @df (example below), the tasks will be automatically named row_to_gcs_files__1. At the moment, the user cannot override the default task_id name when using @df. @df def rows_to_gcs_files() This behavior is different from the @task decorator, which allows users to specify task_id. We should make them consistent. This works: @task(task_id = 'load_json') Acceptance criteria Users are able to override the default task_id name when using the df decorator, similar to the @task decorator Ask @mag3141592 (bug reporter) to review the PR * make optional * fix hanging test
tatiana
added
improvement
Enhancement or improvement in an existing feature
and removed
feature
New feature or request
labels
Mar 11, 2022
utkarsharma2
pushed a commit
that referenced
this issue
Mar 30, 2022
* Allow users to customise the task name when using @df #126 Context As of Astro 0.5.1, if a user calls multiple times a function decorated with @df (example below), the tasks will be automatically named row_to_gcs_files__1. At the moment, the user cannot override the default task_id name when using @df. @df def rows_to_gcs_files() This behavior is different from the @task decorator, which allows users to specify task_id. We should make them consistent. This works: @task(task_id = 'load_json') Acceptance criteria Users are able to override the default task_id name when using the df decorator, similar to the @task decorator Ask @mag3141592 (bug reporter) to review the PR * make optional * fix hanging test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
improvement
Enhancement or improvement in an existing feature
priority/medium
Medium priority
Context
As of Astro 0.5.1, if a user calls multiple times a function decorated with
@df
(example below), the tasks will be automatically namedrow_to_gcs_files__1
. At the moment, the user cannot override the defaulttask_id
name when using@df
.This behavior is different from the
@task
decorator, which allows users to specifytask_id
. We should make them consistent. This works:Acceptance criteria
task_id
name when using thedf
decorator, similar to the@task
decoratorThe text was updated successfully, but these errors were encountered: