Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/integration iqair devices #3962

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/workflows/airqo_etl_utils/airqo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def restructure_airqo_mobile_data_for_bigquery(data: pd.DataFrame) -> pd.DataFra
return Utils.populate_missing_columns(data=data, columns=cols)

@staticmethod
def extract_devices_data(
def extract_devices_data_(
start_date_time: str,
end_date_time: str,
device_category: DeviceCategory,
Expand Down Expand Up @@ -536,7 +536,7 @@ def extract_devices_data(
return devices_data

@staticmethod
def extract_devices_data_(
def extract_devices_data(
start_date_time: str,
end_date_time: str,
device_category: DeviceCategory,
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/dags/airqo_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def extract_raw_data(**kwargs):
start_date_time = date_to_str_hours(hour_of_day)
end_date_time = datetime.strftime(hour_of_day, "%Y-%m-%dT%H:59:59Z")

return AirQoDataUtils.extract_devices_data_(
return AirQoDataUtils.extract_devices_data(
start_date_time=start_date_time,
end_date_time=end_date_time,
device_category=DeviceCategory.LOW_COST,
Expand Down
Loading