docs: def resolve_data_path(self, data=None, filename=None):
          """Resolve data path for use with the executor.
  
          :param data: Data object instance
          :param filename: Filename to resolve
          :return: Resolved filename, which can be used to access the
              given data file in programs executed using this executor
          """
          if data is None:
              return settings.FLOW_EXECUTOR['DATA_DIR']
  
          return data.location.get_path(filename=filename)