JavierLopezT opened a new pull request #9865: URL: https://github.com/apache/airflow/pull/9865
There are times that you want to use a certain function inside your python scripts or even within custom operators. That could be done creating a library for your function, but that implies some cons, as creating a folder, the __init__ file etc. So, allowing functions as plugins in utils, you can create your own functions like a normal plugin an import them from airflow.utils, instead another library called utilities or something like that, making the process easier and more consistent with airflow ecosystem. --- Make sure to mark the boxes below before creating PR: [x] - [X] Description above provides context of the change - [ ] Unit tests coverage for changes (not needed for documentation changes) **I will add them later on** - [X] Target Github ISSUE in description if exists - [X] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)" - [X] Relevant documentation is updated including usage instructions. - [X] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
