code: def pid(self):
          
          if self.model.status == ReleaseStatus.PUBLISHED and self.record:
              fetcher = current_pidstore.fetchers[
                  current_app.config.get('GITHUB_PID_FETCHER')]
              return fetcher(self.record.id, self.record)
docs: Get PID object for the Release record.