PickleState

Contents

PickleState#

class graph_tool.inference.PickleState[source]#

Bases: ABC

Base state that implements pickling and copying.

The state is reconstructed from the parameters of the constructors of all classes in its hierarchy, whose values are taken from the attributes of the same name. Parameters listed in _ignore_state_args are skipped.

Methods

copy(**kwargs)

Copies the state.

copy(**kwargs)[source]#

Copies the state. The parameters override the state properties, and have the same meaning as in the constructor.