The ironic_python_agent.api.controllers.v1.base Module

class ironic_python_agent.api.controllers.v1.base.APIBase(**kw)[source]

Bases: wsme.types.Base

class ironic_python_agent.api.controllers.v1.base.ExceptionType[source]

Bases: wsme.types.UserType

basetype

alias of DictType

frombasetype(value)

Turn an Exception into a dict.

tobasetype(value)[source]

Turn an Exception into a dict.

validate(value)[source]
class ironic_python_agent.api.controllers.v1.base.MultiType(*types)[source]

Bases: wsme.types.UserType

A complex type that represents one or more types.

Used for validating that a value is an instance of one of the types.

Parameters:*types – Variable-length list of types.
validate(value)[source]