code
stringlengths
3
6.57k
hasattr(self, 'provenance_ids')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'TypeLabel')
isinstance(other, self.__class__)
__ne__(self, other: 'TypeLabel')
TypeLabelComparison()
__init__(self, *, label: 'Label' = None)
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
Label._from_dict(_dict.get('label')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'label')
self.label._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'TypeLabelComparison')
isinstance(other, self.__class__)
__ne__(self, other: 'TypeLabelComparison')
UnalignedElement()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('document_label')
Location._from_dict(_dict.get('location')
_dict.get('text')
TypeLabelComparison._from_dict(x)
in (_dict.get('types')
CategoryComparison._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, 'document_label')
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: 'UnalignedElement')
isinstance(other, self.__class__)
__ne__(self, other: 'UnalignedElement')
UpdatedLabelsIn()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
TypeLabel._from_dict(x)
in (_dict.get('types')
Category._from_dict(x)
in (_dict.get('categories')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'types')
x._to_dict()
hasattr(self, 'categories')
x._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'UpdatedLabelsIn')
isinstance(other, self.__class__)
__ne__(self, other: 'UpdatedLabelsIn')
UpdatedLabelsOut()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
TypeLabel._from_dict(x)
in (_dict.get('types')
Category._from_dict(x)
in (_dict.get('categories')
_dict.get('modification')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)