transitmatters / data-ingestion

Crontab for data ingestion/processing on AWS Lambda
MIT License
2 stars 2 forks source link

Fixing date comparisons #69

Closed devinmatte closed 6 months ago

devinmatte commented 6 months ago

Fixing https://app.datadoghq.com/apm/error-tracking/issue/be77ad6e-b48b-11ee-ad0d-da7ad0900002?query=env%3Aprod%20service%3Aingestor&refresh_mode=sliding&view=spans&from_ts=1705421607834&to_ts=1705422492193&live=true

We were trying to compare datetime with date

Now resolving this issue and adding type hints to make sure this is more likely avoided in the future