The panko.api.controllers.v2.base Module

The panko.api.controllers.v2.base Module

class panko.api.controllers.v2.base.AdvEnum(name, *args, **kwargs)[source]

Bases: wsme.types.wsproperty

Handle default and mandatory for wtypes.Enum.

class panko.api.controllers.v2.base.Base(**kw)[source]

Bases: wsme.types.DynamicBase

as_dict(db_model)[source]
as_dict_from_keys(keys)[source]
classmethod from_db_model(m)[source]
exception panko.api.controllers.v2.base.ClientSideError(error, status_code=400)[source]

Bases: wsme.exc.ClientSideError

exception panko.api.controllers.v2.base.EntityNotFound(entity, id)[source]

Bases: panko.api.controllers.v2.base.ClientSideError

class panko.api.controllers.v2.base.JsonType[source]

Bases: wsme.types.UserType

A simple JSON type.

basetype

alias of unicode

static validate(value)[source]
exception panko.api.controllers.v2.base.ProjectNotAuthorized(id, aspect='project')[source]

Bases: panko.api.controllers.v2.base.ClientSideError

class panko.api.controllers.v2.base.Query(**kw)[source]

Bases: panko.api.controllers.v2.base.Base

Query filter.

as_dict()[source]
get_op()[source]
classmethod sample()[source]
set_op(value)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.