The number of people in space is not necessarily the same as the number of people on the ISS.
Any objections against adding something more general like "people_in_craft(craft)", so the people (and number of people) on a single spacecraft (like "ISS" or maybe "CrewDragon") could easily be requested?
I’m thinking of a simple list comprehension from people_in_space()['people'], maybe on the lines of
ret = [p for p in self.people_in_space()['people'] if p['craft']==craft]
or the like.
Or, if you prefer, just something simple like "number_of_people_in_iss()".
This could add functionality while keeping the existing methods intact.
The number of people in space is not necessarily the same as the number of people on the ISS.
Any objections against adding something more general like "people_in_craft(craft)", so the people (and number of people) on a single spacecraft (like "ISS" or maybe "CrewDragon") could easily be requested?
I’m thinking of a simple list comprehension from
people_in_space()['people'], maybe on the lines ofor the like.
Or, if you prefer, just something simple like "number_of_people_in_iss()".
This could add functionality while keeping the existing methods intact.