code: def set_model(self, df_model, file_path):
          
          assert isinstance(df_model, DataFrameModel), "df_model argument must be a DataFrameModel!"
          df_model._filePath = file_path
  
          try:
              self._models[file_path]
          except KeyError:
              self.signalNewModelRead.emit(file_path)
  
          self._models[file_path] = df_model
docs: Sets a DataFrameModel and registers it to the given file_path.
          :param df_model: (DataFrameModel)
              The DataFrameModel to register.
          :param file_path:
              The file path to associate with the DataFrameModel.
              *Overrides the current filePath on the DataFrameModel (if any)
          :return: None