Skip to content

Commit 8799551

Browse files
authored
remove third_party folder (GoogleCloudPlatform#5041)
* remove third_party folder * fix lint
1 parent 9990a3e commit 8799551

11 files changed

Lines changed: 1 addition & 1051 deletions

File tree

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
/tables/automl/**/*.py @telpirion @sirtorry @GoogleCloudPlatform/python-samples-owners
6363
/tasks/**/*.py @averikitsch @GoogleCloudPlatform/python-samples-owners
6464
/texttospeech/**/*.py @telpirion @sirtorry @GoogleCloudPlatform/python-samples-owners
65-
/third_party/apache-airflow/**/*.py @leahecole @GoogleCloudPlatform/python-samples-owners
6665
/trace/**/*.py @dukeng @ziweizhao @GoogleCloudPlatform/python-samples-owners
6766
/translate/**/*.py @telpirion @sirtorry @GoogleCloudPlatform/python-samples-owners
6867
/video/**/*.py @telpirion @sirtorry @GoogleCloudPlatform/python-samples-owners

composer/workflows/bq_copy_across_locations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242
from airflow import models
4343
from airflow.contrib.operators import bigquery_to_gcs
4444
from airflow.contrib.operators import gcs_to_bq
45+
from airflow.contrib.operators import gcs_to_gcs
4546
from airflow.operators import dummy_operator
46-
# Import operator from plugins
47-
from gcs_plugin.operators import gcs_to_gcs
4847

4948

5049
# --------------------------------------------------------------------------------

composer/workflows/bq_copy_across_locations_test.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,12 @@
1414

1515
import os
1616
import os.path
17-
import sys
1817

1918
from airflow import models
20-
import pytest
2119

2220
from . import unit_testing
2321

2422

25-
@pytest.fixture(scope='module', autouse=True)
26-
def gcs_plugin():
27-
plugins_dir = os.path.abspath(os.path.join(
28-
os.path.dirname(__file__),
29-
'..',
30-
'..',
31-
'third_party',
32-
'apache-airflow',
33-
'plugins',
34-
))
35-
sys.path.append(plugins_dir)
36-
yield
37-
sys.path.remove(plugins_dir)
38-
39-
4023
def test_dag():
4124
"""Test that the DAG file can be successfully imported.
4225

third_party/apache-airflow/LICENSE

Lines changed: 0 additions & 263 deletions
This file was deleted.

third_party/apache-airflow/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

third_party/apache-airflow/plugins/__init__.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

third_party/apache-airflow/plugins/gcs_plugin/__init__.py

Whitespace-only changes.

third_party/apache-airflow/plugins/gcs_plugin/hooks/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)