MCPcopy Index your code
hub / github.com/tensorflow/datasets / update

Method update

tensorflow_datasets/core/utils/py_utils.py:145–148  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

143 return super(NonMutableDict, self).__setitem__(key, value)
144
145 def update(self, other): # pytype: disable=signature-mismatch # overriding-parameter-count-checks
146 if any(k in self.keys() for k in other):
147 raise ValueError(self._error_msg.format(key=set(self) & set(other)))
148 return super(NonMutableDict, self).update(other)
149
150
151class classproperty(property): # pylint: disable=invalid-name

Callers 15

setup.pyFile · 0.45
_infoMethod · 0.45
get_features_dictFunction · 0.45
_get_episodeFunction · 0.45
__init__Method · 0.45
set_availablesFunction · 0.45
_assign_shardMethod · 0.45
read_from_directoryMethod · 0.45

Calls 1

keysMethod · 0.45

Tested by 5

_assertAsDatasetMethod · 0.36
_assertAsDatasetMethod · 0.36
_assertAsDatasetMethod · 0.36
checksumFunction · 0.36