pateash opened a new pull request #22548: URL: https://github.com/apache/airflow/pull/22548
closes: #17778 --- ## Description Adding ArangoDB provider based on Python SDK https://github.com/ArangoDB-Community/python-arango Users can create their own custom operators leveraging the **ArangoDBHook** directly or building their operator on **AQLOperator** by providing **result_processor** method, ``` operator = AQLOperator( task_id='aql_operator', sql="FOR doc IN students " \ "RETURN doc", dag=dag, result_processor=lambda cursor: print([document["name"] for document in cursor]) ) ``` Sensor can be implemented by SQL ``` sensor = AQLSensor( task_id="aql_sensor", sql="FOR doc IN students " \ "FILTER doc.name == 'judy' " \ "RETURN doc", timeout=60, poke_interval=10, dag=dag, ) ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
