code
stringlengths
3
6.57k
hasattr(self, 'provenance_ids')
hasattr(self, 'location')
self.location._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'ContractTypes')
isinstance(other, self.__class__)
__ne__(self, other: 'ContractTypes')
ConfidenceLevelEnum(Enum)
DocCounts()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('total')
_dict.get('pending')
_dict.get('successful')
_dict.get('failed')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'total')
hasattr(self, 'pending')
hasattr(self, 'successful')
hasattr(self, 'failed')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'DocCounts')
isinstance(other, self.__class__)
__ne__(self, other: 'DocCounts')
DocInfo()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('html')
_dict.get('title')
_dict.get('hash')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'html')
hasattr(self, 'title')
hasattr(self, 'hash')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'DocInfo')
isinstance(other, self.__class__)
__ne__(self, other: 'DocInfo')
DocStructure()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
SectionTitles._from_dict(x)
in (_dict.get('section_titles')
LeadingSentence._from_dict(x)
in (_dict.get('leading_sentences')
Paragraphs._from_dict(x)
in (_dict.get('paragraphs')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'section_titles')
x._to_dict()
x._to_dict()
hasattr(self, 'paragraphs')
x._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'DocStructure')
isinstance(other, self.__class__)
__ne__(self, other: 'DocStructure')
Document()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('title')
_dict.get('html')
_dict.get('hash')
_dict.get('label')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'title')
hasattr(self, 'html')
hasattr(self, 'hash')