airflow-client-python
airflow-client-python copied to clipboard
Apache Airflow - OpenApi Client for Python
Hello, I would like to ask if the current airflow python client supports the use of kerberos authentication? I see that the kerberos section in the README.md document is empty,...
Client version: 2.1.0 Code: ``` dag_id = "example_bash_operator" dag_run_api_instance = dag_run_api.DAGRunApi(api_client) try: # Create a DAGRun object dag_run = DAGRun( dag_run_id='some_test_run', dag_id=dag_id, external_trigger=True, ) api_response = dag_run_api_instance.post_dag_run(dag_id, dag_run) pprint(api_response) except...
### Composed schemas `$ref` and `nullable` are not supported. And inline composed schemas has bug using tooling. > Per the openapi spec, properties adjacent to refs are ignored: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#reference-object This...
I try to connect to remote airflow server While using client I get ApiTypeError because instead of one of the arguments, the html code goes to the function, where there...
**[description]** file: [airflow/airflow/api_connexion/openapi/v1.yaml](https://github.com/apache/airflow/blob/main/airflow/api_connexion/openapi/v1.yaml) As seen in the file above, the following usages are used in many places: ``` # line 2661 dag_run_timeout: nullable: true $ref: '#/components/schemas/TimeDelta' # line 2498 sla_miss:...
My thoughts on API client libraries are that pagination should be handled by them or at least have the option to be handled by them and the client code does...
Client version: 2.1.0 Code: ``` dag_id = "example_bash_operator" try: api_response = dag_api_instance.get_tasks(dag_id) pprint(api_response) except airflow_client.client.exceptions.OpenApiException as e: print("Exception when calling DagAPI->get_tasks: %s\n" % e) ``` Error: ``` Exception when calling...
In client configuration i would like to pass verify_ssl to False but the value is hard coded. Could you change it to be a param ? Thanks !
Airflow 2.2 has a variety of new APIs: https://airflow.apache.org/docs/apache-airflow/stable/changelog.html#airflow-2-2-0-2021-10-11 In particular, I am interested in the ability to delete a DAG through the API. The latest version of this library...
Hello, Here is discussion that affects Open API client: https://github.com/apache/airflow/pull/14645 Best regards, Kamil Breguła