Skip to content

people in space != people on ISS, add new function? #4

@Moonbase59

Description

@Moonbase59

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions