repo stringclasses 454
values | file_path stringlengths 5 201 | extension stringclasses 1
value | content stringlengths 8 509k | num_lines int64 3 16.9k | size_bytes int64 8 511k |
|---|---|---|---|---|---|
airflow | providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_decorator.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 75 | 2,379 |
airflow | providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_async.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 211 | 7,157 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/k8s_model.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 63 | 2,101 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/template_rendering.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 101 | 4,439 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/kubernetes_helper_functions.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 222 | 7,868 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/version_compat.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 47 | 1,857 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/kube_config.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 136 | 6,856 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/python_kubernetes_script.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 93 | 3,460 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/pod_generator.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 645 | 23,604 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/secret.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 129 | 5,317 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/callbacks.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 215 | 6,456 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/get_provider_info.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 360 | 22,445 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/kube_client.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 266 | 10,765 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/sensors/spark_kubernetes.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 135 | 5,331 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/backcompat/__init__.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 34 | 1,299 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/backcompat/backwards_compat_converters.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 132 | 4,364 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/hooks/kubernetes.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 1,347 | 53,487 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/secrets/kubernetes_secrets_backend.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 256 | 10,857 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 899 | 39,738 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/local_kubernetes_executor.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 313 | 12,751 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_types.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 93 | 2,732 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 1,286 | 58,759 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/resource_convert/env_variable.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 40 | 1,479 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/resource_convert/configmap.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 53 | 1,873 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/resource_convert/secret.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 41 | 1,494 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/container.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 119 | 4,813 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/xcom_sidecar.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 78 | 3,183 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/k8s_resource_iterator.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 47 | 1,937 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/pod_manager.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 1,274 | 53,632 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/delete_from.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 155 | 5,195 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/spark_kubernetes.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 441 | 19,126 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/resource.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 190 | 7,722 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/job.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 809 | 34,372 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 373 | 15,777 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 1,794 | 83,146 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/kueue.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 136 | 5,597 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/cli/definition.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 132 | 4,293 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/cli/kubernetes_command.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 245 | 10,124 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/triggers/job.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 177 | 7,430 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/triggers/pod.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 616 | 27,088 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/decorators/kubernetes_cmd.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 122 | 4,684 |
airflow | providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/decorators/kubernetes.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 169 | 6,358 |
airflow | providers/akeyless/tests/unit/akeyless/hooks/test_akeyless.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 222 | 9,187 |
airflow | providers/akeyless/tests/unit/akeyless/secrets/test_akeyless.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 395 | 16,820 |
airflow | providers/akeyless/tests/system/akeyless/example_dag_akeyless.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 84 | 2,927 |
airflow | providers/akeyless/src/airflow/providers/akeyless/get_provider_info.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 75 | 3,627 |
airflow | providers/akeyless/src/airflow/providers/akeyless/hooks/akeyless.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 233 | 9,653 |
airflow | providers/akeyless/src/airflow/providers/akeyless/secrets/akeyless.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 257 | 10,946 |
airflow | providers/airbyte/tests/unit/airbyte/sensors/test_airbyte.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 154 | 5,649 |
airflow | providers/airbyte/tests/unit/airbyte/hooks/test_airbyte.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 308 | 13,009 |
airflow | providers/airbyte/tests/unit/airbyte/operators/test_airbyte.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 321 | 11,883 |
airflow | providers/airbyte/tests/unit/airbyte/triggers/test_airbyte.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 387 | 13,719 |
airflow | providers/airbyte/tests/system/airbyte/example_airbyte_trigger_job.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 68 | 2,416 |
airflow | providers/airbyte/src/airflow/providers/airbyte/get_provider_info.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 68 | 2,807 |
airflow | providers/airbyte/src/airflow/providers/airbyte/sensors/airbyte.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 148 | 6,077 |
airflow | providers/airbyte/src/airflow/providers/airbyte/hooks/airbyte.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 267 | 10,144 |
airflow | providers/airbyte/src/airflow/providers/airbyte/operators/airbyte.py | .py | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 203 | 8,879 |
airflow | providers/airbyte/src/airflow/providers/airbyte/triggers/airbyte.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 156 | 6,222 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/constants.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 120 | 6,442 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/conftest.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 927 | 38,667 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/event_driven_tests/test_event_driven.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 230 | 10,966 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/basic_tests/test_example_dags.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 85 | 2,801 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/basic_tests/test_basic_dag_operations.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 44 | 1,698 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/dags/example_xcom_test.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 91 | 3,117 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/dags/example_event_driven.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 178 | 6,512 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/prepare_dags.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 114 | 5,178 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/test_openlineage_e2e.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 80 | 3,950 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/task_logs.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 112 | 4,859 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/harness.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 210 | 9,666 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/dags_extra/e2e_versioned_bundle.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 63 | 2,981 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/openlineage_tests/dags_extra/openlineage_warmup_dag.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 41 | 1,452 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/xcom_object_storage_tests/test_xcom_object_storage_backend.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 90 | 3,598 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/e2e_test_utils/clients.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 217 | 7,760 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/e2e_test_utils/base_remote_log_search_test.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 151 | 6,081 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_concurrent_xcom.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 98 | 3,967 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/go_sdk_tests/test_go_sdk_dag.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 264 | 12,256 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/ts_sdk_tests/test_ts_sdk_dag.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 135 | 5,389 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/java_sdk_tests/test_java_sdk_dag.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 364 | 16,048 |
airflow | airflow-e2e-tests/tests/airflow_e2e_tests/remote_log_tests/test_remote_logging.py | .py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 91 | 3,619 |
dagster | conftest.py | .py | import importlib.util
import os
import warnings
import pytest
# Register pytest plugins shipped inside dagster. Scoping registration here
# (rather than via a pytest11 entry point on the dagster distribution) keeps
# these plugins from auto-loading for downstream users who `pip install
# dagster` and run their own p... | 59 | 2,173 |
dagster | docs/scripts/rebuild-kinds-tags.py | .py | import logging
from pathlib import Path
logging.basicConfig(level=logging.INFO)
# We want to group some kinds together in the docs
SPECIAL_KIND_ORDERS = [
[
"bronze",
"silver",
"gold",
],
[
"dag",
"task",
],
[
"table",
"view",
"datase... | 155 | 4,485 |
dagster | docs/scripts/check-frontmatter.py | .py | # /// script
# dependencies = [
# "python-frontmatter",
# ]
# ///
#
# Validates docs front-matter (ensures each document has `description`,
# and each index page has `canonicalUrl` and `slug`).
#
# USAGE
#
# uv run scripts/check-frontmatter.py
#
import sys
from glob import glob
import frontmatter
EXCLUDED_PAT... | 53 | 1,376 |
dagster | docs/sphinx/conf.py | .py | # For a full of config options see:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# We add two kinds of packages to `sys.path`:
#
# - Targets for `autodoc` (referenced via e.g. `automodule` in our doc source rst files).... | 163 | 6,018 |
dagster | docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py | .py | from typing import List, Literal, Tuple, Type, TypeAlias, TypeVar # noqa: F401, UP035
import docutils.nodes as nodes
from dagster._annotations import (
get_beta_info,
get_beta_params,
get_deprecated_info,
get_deprecated_params,
get_preview_info,
get_superseded_info,
has_beta_params,
ha... | 297 | 10,750 |
dagster | docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/docstring_flags.py | .py | import re
import dagster._check as check
import docutils.nodes as nodes
from dagster._annotations import BetaInfo, DeprecatedInfo, PreviewInfo, SupersededInfo
from sphinx.util.docutils import SphinxDirective
# ########################
# ##### AUTODOC
# ########################
# Below APIs are called during docstrin... | 146 | 5,019 |
dagster | docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/configurable.py | .py | import inspect
import json
import textwrap
from typing import Any, cast
import dagster._check as check
from dagster import BoolSource, Field, IntSource, StringSource
from dagster._config.config_type import (
Array,
ConfigScalar,
ConfigType,
ConfigTypeKind,
Enum,
Noneable,
ScalarUnion,
)
fro... | 162 | 6,424 |
dagster | docs/sphinx/_ext/dagster-sphinx/dagster_sphinx_tests/test_docstring_check.py | .py | import pytest
from dagster_sphinx import check_public_method_has_docstring
def test_missing_docstring_raises() -> None:
def no_doc():
pass
# Regression guard: every object has a `__doc__` attribute (defaulting to
# None), so a `hasattr(obj, "__doc__")` check never fires. The check must
# insp... | 37 | 1,116 |
dagster | docs/sphinx/_ext/sphinx-click/sphinx_click/ext.py | .py | import functools
import inspect
import re
import traceback
import typing as ty
import warnings
try:
import asyncclick as click
except ImportError:
import click
import click.core
from docutils import nodes, statemachine
from docutils.parsers import rst
from docutils.parsers.rst import directives
from sphinx imp... | 635 | 21,048 |
dagster | docs/sphinx/_ext/sphinx-click/tests/test_formatter.py | .py | import textwrap
import unittest
import click
from sphinx_click import ext
CLICK_VERSION = tuple(int(x) for x in click.__version__.split(".")[0:2])
class CommandTestCase(unittest.TestCase):
"""Validate basic ``click.Command`` instances."""
maxDiff = None
def test_no_parameters(self):
"""Validat... | 1,121 | 27,424 |
dagster | docs/sphinx/_ext/sphinx-click/tests/test_extension.py | .py | import pickle
from docutils import nodes
from sphinx import addnodes as sphinx_nodes
def test_basics(make_app, rootdir):
srcdir = rootdir / "basics"
app = make_app("xml", srcdir=srcdir)
app.build()
# TODO: rather than using the pickled doctree, we should decode the XML
content = pickle.loads((ap... | 147 | 4,516 |
dagster | docs/sphinx/_ext/sphinx-click/tests/conftest.py | .py | import pathlib
import shutil
import pytest
import sphinx
# this is necessary because Sphinx isn't exposing its fixtures
# https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file
pytest_plugins = ["sphinx.testing.fixtures"]
# TODO: Remove when we no lo... | 30 | 855 |
dagster | docs/sphinx/_ext/sphinx-click/tests/roots/basics/greet.py | .py | """The greet example taken from the README."""
import click
import fake_dependency # Used to test that mocking works
@click.group()
def greet():
"""A sample command group."""
fake_dependency.do_stuff("hello!")
@greet.command()
@click.argument("user", envvar="USER")
def hello(user):
"""Greet a user."""... | 24 | 443 |
dagster | docs/sphinx/_ext/sphinx-click/tests/roots/basics/conf.py | .py | import os
import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
extensions = ["sphinx_click"]
autodoc_mock_imports = ["fake_dependency"]
| 9 | 160 |
dagster | docs/sphinx/_ext/sphinx-click/tests/roots/nested-full/greet.py | .py | """The greet example taken from the README."""
import click
@click.group()
def greet():
"""A sample command group."""
pass
@greet.command()
@click.argument("user", envvar="USER")
def hello(user):
"""Greet a user."""
click.echo("Hello %s" % user) # noqa
@greet.command()
def world():
"""Greet ... | 23 | 365 |
dagster | docs/sphinx/_ext/sphinx-click/tests/roots/nested-full/conf.py | .py | import os
import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
extensions = ["sphinx_click"]
| 7 | 116 |
dagster | docs/sphinx/_ext/sphinx-click/tests/roots/commands/greet.py | .py | """The greet example taken from the README."""
import click
@click.group()
def greet():
"""A sample command group."""
pass
@greet.command()
@click.argument("user", envvar="USER")
def hello(user):
"""Greet a user."""
click.echo(f"Hello {user}")
@greet.command()
def world():
"""Greet the world.... | 23 | 355 |
dagster | docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/__init__.py | .py | import importlib.metadata
__version__ = importlib.metadata.version(__package__ or __name__)
from sphinx.application import Sphinx
def setup(app: Sphinx):
from sphinxcontrib.mdxbuilder.builders.mdx import MdxBuilder
app.add_builder(MdxBuilder)
# File suffix for generated files
app.add_config_value("... | 48 | 1,562 |
dagster | docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/writers/mdx.py | .py | import inspect
import logging
import os
import re
import textwrap
from collections.abc import Sequence
from datetime import datetime
from itertools import groupby
from typing import TYPE_CHECKING, Any
from docutils import nodes, writers
from docutils.nodes import Element
from docutils.utils import column_width
from sp... | 1,253 | 43,089 |
dagster | docs/sphinx/_ext/sphinx-mdx-builder/sphinxcontrib/mdxbuilder/builders/mdx.py | .py | from collections.abc import Iterator
from os import path
from pathlib import Path
from docutils import nodes
from docutils.io import StringOutput
from sphinx.builders import Builder
from sphinx.util import logging
from sphinx.util.inventory import InventoryFile
from sphinx.util.osutil import ensuredir
from ..writers.... | 113 | 4,211 |
dagster | docs/sphinx/_ext/sphinx-mdx-builder/tests/test_mdx_builder.py | .py | """Test suite for sphinx-mdx-builder."""
import os
import shutil
import tempfile
from pathlib import Path
import pytest
from sphinx.application import Sphinx
from sphinx.util.docutils import docutils_namespace
from sphinx.util.inventory import InventoryFile
class TestMdxBuilder:
"""Test class for the MDX builde... | 303 | 13,223 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.