What is working:
- Keyboard
- Backlight control
- Screenlight contro
- Volumne, Display on/off, Touchbad
- Seems like everything is working
- Trackpad is ok
- Wireless
| from airflow.operators.python_operator import PythonOperator | |
| from airflow.utils.db import provide_session | |
| class RunOnceBranchOperator(PythonOperator, SkipMixin): | |
| def __init__( | |
| self, | |
| run_once_task_id=None, | |
| skip_task_id=None, | |
| *args, **kwargs): | |
| kwargs['python_callable'] = lambda x: x |
| runonce = RunOnceBranchOperator( | |
| dag=dag, | |
| task_id='runonce_example', | |
| run_once_task_id='downstream_task_id_to_run_once', | |
| skip_task_id='dummy_task_id_used_to_skip_other_task', | |
| ) | |
| runonce.set_downstream(downstream_to_run_once) | |
| runonce.set_downstream(dummy_task_used_to_skip_other_task) | |
| from airflow.models import DAG | |
| from airflow.operators.dummy_operator import DummyOperator | |
| from airflow.operators.bash_operator import BashOperator | |
| from airflow.utils.dates import days_ago | |
| dag = DAG( | |
| dag_id='example_runtaskonce', | |
| schedule_interval='@once', | |
| start_date=days_ago(1), | |
| ) |
Install zerotier on router
edit horizontal videos: