We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd5109 commit 560de38Copy full SHA for 560de38
web_programming/world_covid19_stats.py
@@ -22,6 +22,10 @@ def world_covid19_stats(url: str = "https://www.worldometers.info/coronavirus")
22
23
24
if __name__ == "__main__":
25
- print("\033[1m" + "COVID-19 Status of the World" + "\033[0m\n")
26
- for key, value in world_covid19_stats().items():
27
- print(f"{key}\n{value}\n")
+ from pyannotate_runtime import collect_types
+ collect_types.init_types_collection()
+ with collect_types.collect():
28
+ print("\033[1m" + "COVID-19 Status of the World" + "\033[0m\n")
29
+ for key, value in world_covid19_stats().items():
30
+ print(f"{key}\n{value}\n")
31
+ collect_types.dump_stats('type_info.json')
0 commit comments