You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/31 21:37:35 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #13996: Add GCS timespan transform operator

ephraimbuddy commented on a change in pull request #13996:
URL: https://github.com/apache/airflow/pull/13996#discussion_r567487850



##########
File path: airflow/providers/google/cloud/operators/gcs.py
##########
@@ -16,12 +16,15 @@
 # specific language governing permissions and limitations
 # under the License.
 """This module contains a Google Cloud Storage Bucket operator."""
+import datetime
 import subprocess
 import sys
 import warnings
-from tempfile import NamedTemporaryFile
+from pathlib import Path
+from tempfile import NamedTemporaryFile, TemporaryDirectory
 from typing import Dict, Iterable, List, Optional, Sequence, Union
 
+import dateutil.tz

Review comment:
       ```suggestion
   from airflow.settings import TIMEZONE
   ```
   I think using this would be better. What do you think?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org