def get_all(resource):
QUERYSETS = {<EOL>settings.PEOPLE: PeopleQuerySet,<EOL>settings.PLANETS: PlanetQuerySet,<EOL>settings.STARSHIPS: StarshipQuerySet,<EOL>settings.VEHICLES: VehicleQuerySet,<EOL>settings.SPECIES: SpeciesQuerySet,<EOL>settings.FILMS: FilmQuerySet<EOL>}<EOL>urls = all_resource_urls(<EOL>"<STR_LIT>".format(settings.BASE_URL, resource)<EOL>)<EOL>return QUERYSETS[resource](urls)<EOL>
Return all of a single resource