Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 22, 2024
1 parent add7c91 commit 15761c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions astronomer/providers/google/cloud/sensors/gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(
)
super().__init__(*args, deferrable=True, **kwargs)


class GCSUploadSessionCompleteSensorAsync(GCSUploadSessionCompleteSensor):
"""
This class is deprecated.
Expand Down
2 changes: 1 addition & 1 deletion tests/google/cloud/sensors/test_gcs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from airflow.providers.google.cloud.sensors.gcs import (
GCSObjectExistenceSensor,
GCSObjectsWithPrefixExistenceSensor,
Expand Down Expand Up @@ -47,6 +46,7 @@ def test_init(self):
assert isinstance(task, GCSObjectsWithPrefixExistenceSensor)
assert task.deferrable is True


class TestGCSUploadSessionCompleteSensorAsync:
def test_init(self):
task = GCSUploadSessionCompleteSensorAsync(
Expand Down

0 comments on commit 15761c7

Please sign in to comment.