Include probability and weather_concerns

This commit is contained in:
Edward Betts 2024-09-09 19:20:52 +01:00
parent 9f6ed9c372
commit 9856a609bd

View file

@ -143,6 +143,8 @@ def summarize_launch(launch: Launch) -> Summary:
"location": launch["pad"]["location"]["name"], "location": launch["pad"]["location"]["name"],
"country_code": launch["pad"]["country_code"], "country_code": launch["pad"]["country_code"],
"orbit": get_nested(launch, ["mission", "orbit"]), "orbit": get_nested(launch, ["mission", "orbit"]),
"probability": launch["probability"],
"weather_concerns": launch["weather_concerns"],
} }