code
stringlengths
3
6.57k
hasattr(self, 'label')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'Document')
isinstance(other, self.__class__)
__ne__(self, other: 'Document')
EffectiveDates()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('confidence_level')
_dict.get('text')
_dict.get('text_normalized')
_dict.get('provenance_ids')
Location._from_dict(_dict.get('location')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'text')
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: 'EffectiveDates')
isinstance(other, self.__class__)
__ne__(self, other: 'EffectiveDates')
ConfidenceLevelEnum(Enum)
Element()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
Location._from_dict(_dict.get('location')
_dict.get('text')
TypeLabel._from_dict(x)
in (_dict.get('types')
Category._from_dict(x)
in (_dict.get('categories')
Attribute._from_dict(x)
in (_dict.get('attributes')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'location')
self.location._to_dict()
hasattr(self, 'text')
hasattr(self, 'types')
x._to_dict()
hasattr(self, 'categories')
x._to_dict()
hasattr(self, 'attributes')
x._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'Element')
isinstance(other, self.__class__)
__ne__(self, other: 'Element')
ElementLocations()
__init__(self, *, begin: int = None, end: int = None)
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('begin')
_dict.get('end')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'begin')
hasattr(self, 'end')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'ElementLocations')
isinstance(other, self.__class__)
__ne__(self, other: 'ElementLocations')
ElementPair()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('document_label')
_dict.get('text')
Location._from_dict(_dict.get('location')
TypeLabelComparison._from_dict(x)
in (_dict.get('types')
CategoryComparison._from_dict(x)
in (_dict.get('categories')