From 25e9dee9cb07fc1f4a3ee824b1a10754eb45dc66 Mon Sep 17 00:00:00 2001 From: Mike Ellis Date: Fri, 13 Dec 2024 22:07:33 +0000 Subject: [PATCH] Fixed build docs errors --- docs/apache-airflow-providers-amazon/operators/dms.rst | 10 ++++++++++ .../tests/system/amazon/aws/example_dms_serverless.py | 6 ------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/apache-airflow-providers-amazon/operators/dms.rst b/docs/apache-airflow-providers-amazon/operators/dms.rst index f624546de0ea6..fc2a7da2dedcb 100644 --- a/docs/apache-airflow-providers-amazon/operators/dms.rst +++ b/docs/apache-airflow-providers-amazon/operators/dms.rst @@ -114,6 +114,7 @@ To delete a replication task you can use :start-after: [START howto_operator_dms_delete_task] :end-before: [END howto_operator_dms_delete_task] +.. _howto/operator:DmsCreateReplicationConfigOperator: Create a serverless replication config ====================================== @@ -127,6 +128,8 @@ To create a serverless replication config use :start-after: [START howto_operator_dms_create_replication_config] :end-before: [END howto_operator_dms_create_replication_config] +.. _howto/operator:DmsDescribeReplicationConfigsOperator: + Describe a serverless replication config ======================================== @@ -139,6 +142,8 @@ To describe a serverless replication config use :start-after: [START howto_operator_dms_describe_replication_config] :end-before: [END howto_operator_dms_describe_replication_config] +.. _howto/operator:DmsStartReplicationOperator: + Start a serverless replication ============================== @@ -151,6 +156,8 @@ To start a serverless replication use :start-after: [START howto_operator_dms_serverless_start_replication] :end-before: [END howto_operator_dms_serverless_start_replication] +.. _howto/operator:DmsStopReplicationOperator: + Stop a serverless replication ============================== @@ -163,6 +170,7 @@ To stop a serverless replication use :start-after: [START howto_operator_dms_serverless_stop_replication] :end-before: [END howto_operator_dms_serverless_stop_replication] +.. _howto/operator:DmsDescribeReplicationsOperator: Get the status of a serverless replication ========================================== @@ -176,6 +184,8 @@ To get the status of a serverless replication use :start-after: [START howto_operator_dms_serverless_describe_replication] :end-before: [END howto_operator_dms_serverless_describe_replication] +.. _howto/operator:DmsDeleteReplicationConfigOperator: + Delete a serverless replication configuration ============================================= diff --git a/providers/tests/system/amazon/aws/example_dms_serverless.py b/providers/tests/system/amazon/aws/example_dms_serverless.py index e23369c383c02..4fca4f688a598 100644 --- a/providers/tests/system/amazon/aws/example_dms_serverless.py +++ b/providers/tests/system/amazon/aws/example_dms_serverless.py @@ -479,9 +479,3 @@ def delete_security_group(security_group_id: str, security_group_name: str): # Needed to run the example DAG with pytest (see: tests/system/README.md#run_via_pytest) test_run = get_test_run(dag) - - -from tests_common.test_utils.system_tests import get_test_run # noqa: E402 - -# Needed to run the example DAG with pytest (see: tests/system/README.md#run_via_pytest) -test_run = get_test_run(dag)