From 3dd5b0c7f72f43a7f317191881395f3de1be41f1 Mon Sep 17 00:00:00 2001 From: Rahul Madan <34760210+rahul-madaan@users.noreply.github.com> Date: Thu, 2 Jan 2025 04:55:53 +0530 Subject: [PATCH] update outdated hyperlinks referencing provider package files (#45332) * udpated 404 hyperlink to gcstogcsoperator * udpated 404 hyperlink to all provider code references --- .../auth-manager/setup/amazon-verified-permissions.rst | 4 ++-- .../executors/batch-executor.rst | 2 +- .../executors/ecs-executor.rst | 2 +- .../guides/developer.rst | 4 ++-- .../providers/amazon/aws/auth_manager/aws_auth_manager.py | 2 +- .../src/airflow/providers/amazon/aws/triggers/README.md | 2 +- providers/src/airflow/providers/apache/beam/README.md | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/apache-airflow-providers-amazon/auth-manager/setup/amazon-verified-permissions.rst b/docs/apache-airflow-providers-amazon/auth-manager/setup/amazon-verified-permissions.rst index 8114a616ab5a5..85d68a1a9a138 100644 --- a/docs/apache-airflow-providers-amazon/auth-manager/setup/amazon-verified-permissions.rst +++ b/docs/apache-airflow-providers-amazon/auth-manager/setup/amazon-verified-permissions.rst @@ -79,7 +79,7 @@ Update the policy store schema the policy store. * You have an existing policy store used for Airflow and you made some modifications to its schema you want to revert. * You have an existing policy store used for Airflow and you want to update its schema to the latest version. - This is only needed if your policy store schema and `the latest schema version `_ + This is only needed if your policy store schema and `the latest schema version `_ are different. If so, there should be a warning message when Airflow is starting. With CLI @@ -100,7 +100,7 @@ Please follow the instructions below to update the Amazon Verified Permissions p 2. Choose the policy store used by Airflow (by default its description is ``Airflow``). 3. In the navigation pane on the left, choose **Schema**. 4. Choose **Edit schema** and then choose **JSON mode**. -5. Enter the content of `the latest schema version `_ +5. Enter the content of `the latest schema version `_ in the **Contents** field. 6. Choose **Save changes**. diff --git a/docs/apache-airflow-providers-amazon/executors/batch-executor.rst b/docs/apache-airflow-providers-amazon/executors/batch-executor.rst index a702e69fda9a0..aa62ea74bf10c 100644 --- a/docs/apache-airflow-providers-amazon/executors/batch-executor.rst +++ b/docs/apache-airflow-providers-amazon/executors/batch-executor.rst @@ -19,7 +19,7 @@ .. warning:: The Batch Executor is alpha/experimental at the moment and may be subject to change without warning. .. |executorName| replace:: Batch -.. |dockerfileLink| replace:: `here `__ +.. |dockerfileLink| replace:: `here `__ .. |configKwargs| replace:: SUBMIT_JOB_KWARGS ================== diff --git a/docs/apache-airflow-providers-amazon/executors/ecs-executor.rst b/docs/apache-airflow-providers-amazon/executors/ecs-executor.rst index b00704dc864f2..e27c2480f7444 100644 --- a/docs/apache-airflow-providers-amazon/executors/ecs-executor.rst +++ b/docs/apache-airflow-providers-amazon/executors/ecs-executor.rst @@ -17,7 +17,7 @@ .. |executorName| replace:: ECS -.. |dockerfileLink| replace:: `here `__ +.. |dockerfileLink| replace:: `here `__ .. |configKwargs| replace:: SUBMIT_JOB_KWARGS ================ diff --git a/docs/apache-airflow-providers-openlineage/guides/developer.rst b/docs/apache-airflow-providers-openlineage/guides/developer.rst index 8b5f9e29156cc..4eca316217ef9 100644 --- a/docs/apache-airflow-providers-openlineage/guides/developer.rst +++ b/docs/apache-airflow-providers-openlineage/guides/developer.rst @@ -357,8 +357,8 @@ like extracting column level lineage and inputs/outputs from SQL query with SQL return lineage_metadata For more examples of OpenLineage Extractors, check out the source code of -`BashExtractor `_ or -`PythonExtractor `_. +`BashExtractor `_ or +`PythonExtractor `_. .. _inlets_outlets:openlineage: diff --git a/providers/src/airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py b/providers/src/airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py index 37da993deabcf..ab82c6042ce3b 100644 --- a/providers/src/airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py +++ b/providers/src/airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py @@ -436,7 +436,7 @@ def _check_avp_schema_version(self): if not self.avp_facade.is_policy_store_schema_up_to_date(): self.log.warning( "The Amazon Verified Permissions policy store schema is different from the latest version " - "(https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/auth_manager/avp/schema.json). " + "(https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/amazon/aws/auth_manager/avp/schema.json). " "Please update it to its latest version. " "See doc: https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/auth-manager/setup/amazon-verified-permissions.html#update-the-policy-store-schema." ) diff --git a/providers/src/airflow/providers/amazon/aws/triggers/README.md b/providers/src/airflow/providers/amazon/aws/triggers/README.md index bd998a5a294ff..43f89b4b0ccc9 100644 --- a/providers/src/airflow/providers/amazon/aws/triggers/README.md +++ b/providers/src/airflow/providers/amazon/aws/triggers/README.md @@ -126,7 +126,7 @@ Here, we are calling the `get_waiter` function defined in `base_aws.py` which ta } ``` -For more information about writing custom waiter, see the [README.md](https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/waiters/README.md) for custom waiters. +For more information about writing custom waiter, see the [README.md](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/amazon/aws/waiters/README.md) for custom waiters. In some cases, a built-in or custom waiter may not be able to solve the problem. In such cases, the asynchronous method used to poll the boto3 API would need to be defined in the hook of the service being used. This method is essentially the same as the synchronous version of the method, except that it will use the aiobotocore client, and will be awaited. For the Redshift example, the async `describe_clusters` method would look as follows: diff --git a/providers/src/airflow/providers/apache/beam/README.md b/providers/src/airflow/providers/apache/beam/README.md index 9400546390e11..17564c5bef69d 100644 --- a/providers/src/airflow/providers/apache/beam/README.md +++ b/providers/src/airflow/providers/apache/beam/README.md @@ -71,8 +71,8 @@ in [Naming conventions for provider packages](https://github.com/apache/airflow/ | New Airflow 2.0 operators: `airflow.providers.apache.beam` package | |:---------------------------------------------------------------------------------------------------------------------------------------------| -| [operators.beam.BeamRunJavaPipelineOperator](https://github.com/apache/airflow/blob/main/airflow/providers/apache/beam/operators/beam.py) | -| [operators.beam.BeamRunPythonPipelineOperator](https://github.com/apache/airflow/blob/main/airflow/providers/apache/beam/operators/beam.py) | +| [operators.beam.BeamRunJavaPipelineOperator](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/apache/beam/operators/beam.py) | +| [operators.beam.BeamRunPythonPipelineOperator](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/apache/beam/operators/beam.py) | ## Hooks @@ -81,7 +81,7 @@ in [Naming conventions for provider packages](https://github.com/apache/airflow/ | New Airflow 2.0 hooks: `airflow.providers.apache.beam` package | |:-----------------------------------------------------------------------------------------------------------------| -| [hooks.beam.BeamHook](https://github.com/apache/airflow/blob/main/airflow/providers/apache/beam/hooks/beam.py) | +| [hooks.beam.BeamHook](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/apache/beam/hooks/beam.py) | ## Releases