Skip to content

Instantly share code, notes, and snippets.

@zzstoatzz
Created March 28, 2022 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzstoatzz/d39b8f0658c15f1a200565a63334319e to your computer and use it in GitHub Desktop.
Save zzstoatzz/d39b8f0658c15f1a200565a63334319e to your computer and use it in GitHub Desktop.
❯ python flow.py
15:53:15.919 | INFO | prefect.engine - Created flow run 'shapeless-partridge' for flow "Store chess.com users' games"
15:53:15.919 | INFO | Flow run 'shapeless-partridge' - Using task runner 'ConcurrentTaskRunner'
Checking for games on chess.com from: n80n8
15:53:16.218 | INFO | Flow run 'shapeless-partridge' - Created task run 'get_games-d2192cf5-0' for task 'get_games'
15:53:16.254 | INFO | Flow run 'shapeless-partridge' - Created task run 'get_games-d2192cf5-1' for task 'get_games'
15:53:16.281 | INFO | Task run 'get_games-d2192cf5-0' - Finished in state Cached(None, type=COMPLETED)
15:53:16.287 | INFO | Flow run 'shapeless-partridge' - Created task run 'get_games-d2192cf5-2' for task 'get_games'
15:53:16.320 | INFO | Task run 'get_games-d2192cf5-1' - Finished in state Cached(None, type=COMPLETED)
15:53:16.325 | INFO | Flow run 'shapeless-partridge' - Created task run 'get_games-d2192cf5-3' for task 'get_games'
15:53:16.360 | INFO | Task run 'get_games-d2192cf5-2' - Finished in state Cached(None, type=COMPLETED)
15:53:16.366 | INFO | Flow run 'shapeless-partridge' - Created task run 'get_games-d2192cf5-4' for task 'get_games'
Fetching 5 new months of games from n80n8..
15:53:16.410 | INFO | Task run 'get_games-d2192cf5-3' - Finished in state Cached(None, type=COMPLETED)
15:53:16.416 | INFO | Flow run 'shapeless-partridge' - Created task run 'load_games-da437ea8-0' for task 'load_games'
15:53:16.465 | INFO | Task run 'get_games-d2192cf5-4' - Finished in state Cached(None, type=COMPLETED)
15:53:16.469 | INFO | Flow run 'shapeless-partridge' - Created task run 'load_games-da437ea8-1' for task 'load_games'
storing games from month 11 of year 2021...
15:53:16.689 | INFO | Flow run 'shapeless-partridge' - Created task run 'load_games-da437ea8-2' for task 'load_games'
storing games from month 12 of year 2021...
/Users/nate/opt/miniconda3/envs/chess/lib/python3.7/site-packages/prefect/client.py:1196: UserWarning: No default storage has been set on the server. Using temporary local storage for results.
"No default storage has been set on the server. "
15:53:16.929 | INFO | Flow run 'shapeless-partridge' - Created task run 'load_games-da437ea8-3' for task 'load_games'
storing games from month 01 of year 2022...
15:53:17.456 | INFO | Flow run 'shapeless-partridge' - Created task run 'load_games-da437ea8-4' for task 'load_games'
15:53:17.652 | INFO | Task run 'load_games-da437ea8-0' - Finished in state Completed(None)
15:53:18.055 | INFO | Task run 'load_games-da437ea8-1' - Finished in state Completed(None)
storing games from month 03 of year 2022...
15:53:18.202 | INFO | Task run 'load_games-da437ea8-2' - Finished in state Completed(None)
storing games from month 02 of year 2022...
15:53:18.352 | INFO | Task run 'load_games-da437ea8-4' - Finished in state Completed(None)
15:53:18.438 | INFO | Task run 'load_games-da437ea8-3' - Finished in state Completed(None)
15:53:18.722 | INFO | Flow run 'shapeless-partridge' - Finished in state Completed('All states completed.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment