astro-sdk icon indicating copy to clipboard operation
astro-sdk copied to clipboard

Make the tasks and operators ids consistent

Open tatiana opened this issue 3 years ago • 0 comments

Please describe the feature you'd like to see At the moment, if the user does not define task_id, we are naming tasks inconsistently across different operators and decorators. Some are prefixed or suffixed with _, others are not.

Describe the solution you'd like

  • By default, name based on the functionality, without _, eg. load_file
  • If the name is already used by another task, suffix with _ and a unique identifier

Additional context Example of how the tutorial currently renders: Screenshot 2022-07-27 at 10 58 00

Acceptance Criteria

  • [ ] All checks and tests in the CI should pass
  • [ ] All decorators and tasks are named consistently (both the tutorial and the other ones)

tatiana avatar Jul 27 '22 11:07 tatiana