[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-03-01 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1450811879 @BasPH Also one more case why having example_dags as "executable" and separate python file here: https://github.com/apache/airflow/pull/28325 Our example dags are actually

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-02-21 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1438506435 > We should separate purposes and store code for docs separate from tests, i.e. in the /docs folder. Since that would be a bigger change, happy to close this PR for now and use it to

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-02-01 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1412956934 Oh yes - I absolutely agree example dags should not be loaded by default.This is even one of the reasons why in Breeze it is disabled by default. And if anything I would argue for

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-01-31 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1411034438 Exactly same effect, example is runnable with `--load-example-dags` flag in start-airflow. No code duplication. -- This is an automated message from the Apache Git Service. To respond

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-01-31 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1411031392 > I suggest showing reproducible examples. The current example for the PythonSensor is not easily reproducible because it doesn't show imports. Yes I understand that. What

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-01-31 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1410355082 Very nice. Just a question - should not we make it back into the example_sensors.py and include from there? I think the big benefit of include_examples is that the documentaion

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-01-31 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1410354345 Very nice. Just a question - should not we make it back into the example_sensors.py and include from there? I think the big benefit of include_examples is that the documentaion

[GitHub] [airflow] potiuk commented on pull request #29143: Demonstrate usage of the PythonSensor

2023-01-31 Thread via GitHub
potiuk commented on PR #29143: URL: https://github.com/apache/airflow/pull/29143#issuecomment-1410353637 Very nice. Just a question - should not we make it back into the example_sensors.py and include from there? I think the big benefit of include_examples is that the doycumentaion