Created
May 18, 2020 06:17
-
-
Save nfarah86/0a54e082c9026aa5c9940b24836d9c65 to your computer and use it in GitHub Desktop.
Modify a function to call display_results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tl.job(interval=timedelta(seconds=120)) | |
def sample_job_every_120s(): | |
weather_response = get_weather_data() | |
air_pollution_data = get_air_pollution_data() | |
insert_to_mongo(weather_response, air_pollution_data) | |
makeRequests() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment