Skip to content

Commit

Permalink
airflow-28289 Add AWS Neptune hook and operators
Browse files Browse the repository at this point in the history
  • Loading branch information
pateash committed Jul 23, 2023
1 parent 82ca885 commit adc7ed5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/system/providers/amazon/aws/example_neptune_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
neptune_db_identifier = f"{test_context[ENV_ID_KEY]}-neptune-database"

# [START howto_operator_neptune_start_db]
stop_db_instance = NeptuneStartDbOperator(
task_id="stop_db_instance",
start_db_instance= NeptuneStartDbOperator(
task_id="start_db_instance",
db_identifier=neptune_db_identifier,
)
# [END howto_operator_neptune_start_db]

# [START howto_operator_neptune_stop_db]
start_db_instance = NeptuneStopDbOperator(
task_id="start_db_instance",
stop_db_instance = NeptuneStopDbOperator(
task_id="stop_db_instance",
db_identifier=neptune_db_identifier,
)
# [END howto_operator_neptune_stop_db]
Expand Down

0 comments on commit adc7ed5

Please sign in to comment.