def fetch_published(self):
pid_type = self['<STR_LIT>']['<STR_LIT>']['<STR_LIT:type>']<EOL>pid_value = self['<STR_LIT>']['<STR_LIT>']['<STR_LIT:value>']<EOL>resolver = Resolver(<EOL>pid_type=pid_type, object_type='<STR_LIT>',<EOL>getter=partial(self.published_record_class.get_record,<EOL>with_deleted=True)<EOL>)<EOL>return resolver.resolve(pid_value)<EOL>
Return a tuple with PID and published record.