MCPcopy Create free account
hub / github.com/PyTables/PyTables / flavor

Method flavor

tables/leaf.py:294–303  ·  view source on GitHub ↗

Type of the data object read from this leaf. It can be any of 'numpy' or 'python'. You can (and are encouraged to) use this property to get, set and delete the FLAVOR HDF5 attribute of the leaf. When the leaf has no such attribute, the default flavor is used.

(self)

Source from the content-addressed store, hash-verified

292
293 @property
294 def flavor(self) -> Literal["numpy", "python"]:
295 """Type of the data object read from this leaf.
296
297 It can be any of 'numpy' or 'python'.
298
299 You can (and are encouraged to) use this property to get, set
300 and delete the FLAVOR HDF5 attribute of the leaf. When the leaf
301 has no such attribute, the default flavor is used.
302 """
303 return self._flavor
304
305 @flavor.setter
306 def flavor(self, flavor: Literal["numpy", "python"]) -> None:

Callers

nothing calls this directly

Calls 2

check_flavorFunction · 0.85
_check_writableMethod · 0.80

Tested by

no test coverage detected