code
stringlengths
3
6.57k
_dict.get('title')
_dict.get('html')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'num_pages')
hasattr(self, 'author')
hasattr(self, 'title')
hasattr(self, 'html')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'HTMLReturn')
isinstance(other, self.__class__)
__ne__(self, other: 'HTMLReturn')
Interpretation()
amount (for example, `USD` or `EUR`)
symbol (for example, `$` or `£`)
amount (for example, `USD` or `EUR`)
symbol (for example, `$` or `£`)
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('value')
_dict.get('numeric_value')
_dict.get('unit')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'value')
hasattr(self, 'numeric_value')
hasattr(self, 'unit')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'Interpretation')
isinstance(other, self.__class__)
__ne__(self, other: 'Interpretation')
Key()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('cell_id')
Location._from_dict(_dict.get('location')
_dict.get('text')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'cell_id')
hasattr(self, 'location')
self.location._to_dict()
hasattr(self, 'text')
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'Key')
isinstance(other, self.__class__)
__ne__(self, other: 'Key')
KeyValuePair()
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
Key._from_dict(_dict.get('key')
Value._from_dict(x)
in (_dict.get('value')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)
to_dict(self)
hasattr(self, 'key')
self.key._to_dict()
hasattr(self, 'value')
x._to_dict()
_to_dict(self)
self.to_dict()
__str__(self)
json.dumps(self._to_dict()
__eq__(self, other: 'KeyValuePair')
isinstance(other, self.__class__)
__ne__(self, other: 'KeyValuePair')
Label()
__init__(self, nature: str, party: str)
from_dict(cls, _dict: Dict)
set(_dict.keys()
set(valid_keys)
join(bad_keys)
_dict.get('nature')
_dict.get('party')
cls(**args)
_from_dict(cls, _dict)
cls.from_dict(_dict)