riptable.Utils.rt_metadata

Classes

MetaData

Functions

meta_from_version(cls, vnum)

Returns a dictionary of meta data defaults.

Attributes

META_VERSION

class riptable.Utils.rt_metadata.MetaData(metadict={})
property dict
property itemclass

Starting 4/29/2019 item classes will be saved as strings in json meta data in classname. For backwards compatibility, will also check typeid. The TypeId class is an enum of ItemClass -> typeid. Both will lookup the items class in the TypeRegister, which holds classname -> itemclass.

property name
property string
property typeid
default_dict
__getitem__(idx)
__repr__()

Return repr(self).

__setitem__(idx, value)
__str__()

Return str(self).

get(key, default)
setdefault(k, v)
riptable.Utils.rt_metadata.meta_from_version(cls, vnum)

Returns a dictionary of meta data defaults.

riptable.Utils.rt_metadata.META_VERSION = 0