def get_table_schema()

in generator/dryrun.py [0:0]


    def get_table_schema(self):
        """Return the schema of the provided table."""
        self.validate()

        if (
            self.dry_run_result
            and self.dry_run_result["valid"]
            and "tableMetadata" in self.dry_run_result
        ):
            return self.dry_run_result["tableMetadata"]["schema"]["fields"]

        return []