Skip to content

Commit

Permalink
Organize S3 Classes in Amazon Provider (#20167)
Browse files Browse the repository at this point in the history
* Task: Organize S3 Classes in Amazon Provider
  • Loading branch information
KennyRich committed Dec 13, 2021
1 parent 7c81df6 commit a208463
Show file tree
Hide file tree
Showing 31 changed files with 1,312 additions and 1,137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from airflow.decorators import task
from airflow.models.dag import DAG
from airflow.providers.amazon.aws.hooks.s3 import S3Hook
from airflow.providers.amazon.aws.operators.s3_bucket import S3CreateBucketOperator, S3DeleteBucketOperator
from airflow.providers.amazon.aws.operators.s3 import S3CreateBucketOperator, S3DeleteBucketOperator

BUCKET_NAME = os.environ.get('BUCKET_NAME', 'test-airflow-12345')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
from datetime import datetime

from airflow.models.dag import DAG
from airflow.providers.amazon.aws.operators.s3_bucket import S3CreateBucketOperator, S3DeleteBucketOperator
from airflow.providers.amazon.aws.operators.s3_bucket_tagging import (
from airflow.providers.amazon.aws.operators.s3 import (
S3CreateBucketOperator,
S3DeleteBucketOperator,
S3DeleteBucketTaggingOperator,
S3GetBucketTaggingOperator,
S3PutBucketTaggingOperator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
from datetime import datetime

from airflow import DAG
from airflow.providers.amazon.aws.operators.s3_copy_object import S3CopyObjectOperator
from airflow.providers.amazon.aws.operators.s3_delete_objects import S3DeleteObjectsOperator
from airflow.providers.amazon.aws.operators.s3 import S3CopyObjectOperator, S3DeleteObjectsOperator
from airflow.providers.amazon.aws.transfers.salesforce_to_s3 import SalesforceToS3Operator

BASE_PATH = "salesforce/customers"
Expand Down
Loading

0 comments on commit a208463

Please sign in to comment.
  翻译: