def get_table_comment(self, connection, table_name, schema=None, **kw):
    all_table_comments = self._get_all_table_comments(connection, **kw)
    key = RelationKey(table_name, schema, connection)
    if key not in all_table_comments.keys():
        key = key.unquoted()
    return {"text": all_table_comments.get(key)}
def test_unquoted(raw_table, raw_schema):
    key = RelationKey(raw_table, raw_schema)
    assert key.unquoted().__str__() == "schema.table"