Skip to main content

backend.wrappers

Handles Spock data type wrappers

Spockspace Objects#

class Spockspace(argparse.Namespace)

Inherits from Namespace to implement a pretty print on the obj

Overwrites the repr method with a pretty version of printing

__repr_dict__#

@propertydef __repr_dict__()

Handles making a clean dict to hind the salt and key on print

__repr__#

def __repr__()

Overloaded repr to pretty print the spock object

__iter__#

def __iter__()

Iter for the underlying dictionary