Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
brettedw committed Jan 29, 2025
1 parent b24f5b8 commit 0d56143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/auto_spatial_advisory/critical_hours.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
class CriticalHoursInputs(BaseModel):
"""
Encapsulates the dailies, yesterday dailies, and hourlies for a set of stations required for calculating critical hours.
Since daily data comes from WF1 as JSON, we treat the values as Any types for now.
"""

dailies_by_station_id: Dict[str, Any]
Expand Down Expand Up @@ -163,7 +164,6 @@ async def apply_retention_policy(client: AioBaseClient, bucket: str):
except ValueError:
continue

# Check if the folder is older than 14 days
if folder_date < retention_date:
# Delete the objects in this folder
res_objects = await client.list_objects_v2(Bucket=bucket, Prefix=folder["Prefix"])
Expand Down

0 comments on commit 0d56143

Please sign in to comment.