Returns a function for getting a generator that fetches people from the given data context.
Error if a data context is not provided
the current data context
a function for getting a generator that fetches people
Returns a generator for fetching all people with the given type
the type of people to return
a generator for fetching all people with the given type
Error if no type is provided or if the type is not for a person
Returns a function for getting a generator that fetches people from the given data context.
Throws
Error if a data context is not provided