[ 
https://issues.apache.org/jira/browse/AIRFLOW-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111530#comment-17111530
 ] 

ASF subversion and git services commented on AIRFLOW-6586:
----------------------------------------------------------

Commit 499493c5c5cf324ab8452ead80a10b71ce0c3b14 in airflow's branch 
refs/heads/master from Jacob Ferriero
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=499493c ]

[AIRFLOW-6586] Improvements to gcs sensor (#7197)

* [AIRFLOW-6586] Improvements to gcs sensor

refactors GoogleCloudStorageUploadSessionCompleteSensor to use set instead of 
number of objects

add poke mode only decorator

assert that poke_mode_only applied to child of BaseSensorOperator

refactor tests

remove assert

[AIRFLOW-6586] Improvements to gcs sensor

refactors GoogleCloudStorageUploadSessionCompleteSensor to use set instead of 
number of objects

add poke mode only decorator

assert that poke_mode_only applied to child of BaseSensorOperator

remove assert

fix static checks

add back inadvertently remove requirements

pre-commit

fix typo

* gix gcs sensor unit test

* move poke_mode_only to base_sensor_operator module

* add sensor / poke_mode_only docs

* fix ci check add sensor how-to docs

* Update airflow/providers/google/cloud/sensors/gcs.py

Co-authored-by: Tomek Urbaszek <[email protected]>

* Update airflow/sensors/base_sensor_operator.py

Co-authored-by: Tomek Urbaszek <[email protected]>

* Update airflow/sensors/base_sensor_operator.py

Co-authored-by: Kamil Breguła <[email protected]>

* simplify class decorator

* remove type hint

* add note to UPDATING.md

* remove unecessary declaration of class member

* Fix to kwargs in UPDATING.md

Co-authored-by: Tomek Urbaszek <[email protected]>
Co-authored-by: Kamil Breguła <[email protected]>

> GCSUploadSessionCompleteSensor breaks in reschedule mode.
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-6586
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6586
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: 1.10.3
>            Reporter: Jacob Ferriero
>            Priority: Minor
>
> This sensor is stateful and loses state between reschedules. 
> We should: 
>  # Warn about this in docstring
>  # Add a `poke_mode_only` class decorator for sensors that aren't safe in 
> reschedule mode.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to