def get_relations(self, cursor, table_name):
        constraints = self.get_key_columns(cursor, table_name)
        relations = {}
        for my_fieldname, other_table, other_field in constraints:
            relations[my_fieldname] = (other_field, other_table)
        return relations
Convert Filename.
dataset/ETHPy150Open django/django/django/db/backends/mysql/introspection.py/DatabaseIntrospection.get_relations--crossover with--dataset/ETHPy150Open stephenmcd/filebrowser-safe/filebrowser_safe/functions.py/convert_filename