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 constants.DATA_ALL_VOLUME
  
          # Prefix MUST be set because ``get_path`` uses Django's settings,
          # if prefix is not set, to get path prefix. But the executor
          # shouldn't use Django's settings directly, so prefix is set
          # via a constant.
          return data.location.get_path(prefix=constants.DATA_ALL_VOLUME, filename=filename)