sandeepvsk10 opened a new pull request, #58549:
URL: https://github.com/apache/airflow/pull/58549

   **This PR adds a Neo4jSensor to the Neo4j Provider.** 
   
   * It **functions similarly to existing SQL-based sensor** of polling the 
neo4j graph database (here with Cypher) for a condition to be met.
   
   * The Neo4j query run is called from the `Neo4jHook` class to connect with a 
Neo4j graph database instead of `DbApiHook` which lead to the necessity for 
adding a separate Sensor to Neo4j.
   
   # Airflow Components Added
   * `Neo4jSensor` - Polls (Executes a Cypher query in Neo4j) until the 
returned value satisfies a condition.
   
   # Tests
   * `Unit Tests` - Added and tested within breeze using pytest for possible 
combinations and functionalities
   
   # Static Checks
   * `Prek` - Prek hooks were run within breeze for my commits and passed 
static checks.  
   
   # Documentation
   * `Neo4jSensor Documentation` - added to the 
`providers/neo4j/docs/neo4j/sensors/neo4j.rst`
   
   # Spelling Word List
   * `Cypher` - Term was added to the `docs/spelling_wordlist.txt` for the 
documentation generation.
   
   
   


-- 
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]

Reply via email to