'Recursively iterates over all tables in the resource and
nested resources.'

def iter_tables(self):

    for table in self.tables:
        (yield table)
    for resource in self.resources:
        for table in resource.iter_tables():
            (yield table)
