Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_column_specification(self, column, **kwargs):
colspec = super(BigQueryDDLCompiler, self).get_column_specification(column, **kwargs)
if column.doc is not None:
colspec = '{} OPTIONS(description={})'.format(colspec, self.preparer.quote(column.doc))
return colspec