CustomMeta#

Added in version 1.20.

class CustomMeta(*args, **kwargs)#

Extra custom metadata. The structure field is the same as returned by get_structure().

Since 1.24 it can be serialized using serialize() and deserialize(), but only if the Structure does not contain any fields that cannot be serialized, see STRICT.

Methods#

class CustomMeta
get_structure() Structure#

Retrieve the Structure backing a custom meta, the structure’s mutability is conditioned to the writability of the Buffer meta is attached to.

Added in version 1.20.

has_name(name: str) bool#

Checks whether the name of the custom meta is name

Added in version 1.20.

Parameters:

name

Fields#

class CustomMeta
meta#

Parent Meta

structure#

Structure containing custom metadata.

Added in version 1.24.