in generator/dryrun.py [0:0]
def get_schema(self):
"""Return the query schema by dry running the SQL file."""
self.validate()
if (
self.dry_run_result
and self.dry_run_result["valid"]
and "schema" in self.dry_run_result
):
return self.dry_run_result["schema"]["fields"]
return []