uranusjr commented on code in PR #50828:
URL: https://github.com/apache/airflow/pull/50828#discussion_r2098500565


##########
airflow-core/src/airflow/example_dags/tutorial_objectstorage.py:
##########
@@ -72,40 +71,44 @@ def get_air_quality_data(**kwargs) -> ObjectStoragePath:
         import pandas as pd
 
         logical_date = kwargs["logical_date"]
-        start_time = kwargs["data_interval_start"]
+
+        latitude = 28.6139
+        longitude = 77.2090
 
         params = {
-            "format": "json",
-            "precision": "double",
-            "groupareas": "0",
-            "producer": "airquality_urban",
-            "area": "Uusimaa",
-            "param": ",".join(aq_fields.keys()),
-            "starttime": start_time.isoformat(timespec="seconds"),
-            "endtime": logical_date.isoformat(timespec="seconds"),
-            "tz": "UTC",
+            "latitude": latitude,
+            "longitude": longitude,
+            "hourly": ",".join(aq_fields),
+            "timezone": "Asia/Kolkata",
         }
 
-        response = requests.get(API, params=params)
+        response = requests.get(API, params=params)  # type: ignore[arg-type]

Review Comment:
   Why does this need an ignore?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to