code
stringlengths
3
6.57k
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, 'text')
hasattr(self, 'location')
self.location._to_dict()
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: 'ElementPair')
isinstance(other, self.__class__)
__ne__(self, other: 'ElementPair')
FeedbackDataInput()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('feedback_type')
ShortDoc._from_dict(_dict.get('document')
_dict.get('model_id')
_dict.get('model_version')
Location._from_dict(_dict.get('location')
_dict.get('text')
_dict.get('original_labels')
_dict.get('updated_labels')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'feedback_type')
hasattr(self, 'document')
self.document._to_dict()
hasattr(self, 'model_id')
hasattr(self, 'model_version')
hasattr(self, 'location')
self.location._to_dict()
hasattr(self, 'text')
self.original_labels._to_dict()
hasattr(self, 'updated_labels')
self.updated_labels._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'FeedbackDataInput')
isinstance(other, self.__class__)
__ne__(self, other: 'FeedbackDataInput')
FeedbackDataOutput()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('feedback_type')
ShortDoc._from_dict(_dict.get('document')
_dict.get('model_id')
_dict.get('model_version')
Location._from_dict(_dict.get('location')
_dict.get('text')
_dict.get('original_labels')
_dict.get('updated_labels')
Pagination._from_dict(_dict.get('pagination')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'feedback_type')
hasattr(self, 'document')
self.document._to_dict()
hasattr(self, 'model_id')
hasattr(self, 'model_version')
hasattr(self, 'location')
self.location._to_dict()
hasattr(self, 'text')
self.original_labels._to_dict()
hasattr(self, 'updated_labels')
self.updated_labels._to_dict()
hasattr(self, 'pagination')
self.pagination._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'FeedbackDataOutput')
isinstance(other, self.__class__)
__ne__(self, other: 'FeedbackDataOutput')
FeedbackDeleted()
__init__(self, *, status: int = None, message: str = None)
from_dict(cls, _dict: Dict)
set(_dict.keys()