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

Support Installed code via python callable string #221

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

john-drews
Copy link

i want to be able to define a path to a custom function that i am installing into my airflow environment. This will allow me to test my dag locally without having to define a path and simply refer to the package path instead.

Example

        branch_by_bq_load_status:
            operator: airflow.operators.python.BranchPythonOperator
            python_callable: custom.path.to.func

allow for installable code to be passed as python callable
added test for callable str
@tatiana tatiana added this to the DAG Factory 0.20.0 milestone Oct 7, 2024
@pankajastro
Copy link
Contributor

@john-drews, Thank you very much for the contribution, could you please fix the CI issue?

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.

3 participants