In `get_records` is there any preference to yield ...
# singer-tap-development
a
In
get_records
is there any preference to yield individual records using
yield from
or just
return
an iterable of them? And does that answer change if I am using parent-child streams at all?
s
I can see below from streams.py
Copy code
def get_records(self, context: dict | None) -> Iterable[dict[str, Any]]:
    context = context or {}
    records = self.request_records(context=context)
    for rec in records:
        self.post_process(rec)
        yield rec
Thanks