nucypher.control.specifications.fields

Submodules

class BaseField(*args, **kwargs)

Bases: object

click_type = STRING
class String(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.BaseField, marshmallow.fields.String

class List(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.BaseField, marshmallow.fields.List

class StringList(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.List

Expects a delimited string, if input is not already a list. The string is split using the delimiter arg (defaults to ‘,’ if not provided) and returns a corresponding List of object.

class Integer(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.BaseField, marshmallow.fields.Integer

click_type = INT
class PositiveInteger(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.Integer

class Base64BytesRepresentation(*args, **kwargs)

Bases: nucypher.control.specifications.fields.base.BaseField, marshmallow.fields.Field

Serializes/Deserializes any object’s byte representation to/from bae64.