Attributes handler

Module realized a handler for creating and getting new temporary attributes

class luna_faces.app.handlers.attributes_handler.AttributesHandler(request)[source]

Handler for work with attributes

Resource: “/{api_version}/attributes”

async get()[source]

Get several temporary attributes. See spec_get_attributes.

Return type:

HTTPResponse

Returns:

response json with attributes

async post()[source]

Create new temporary attribute. See spec_create_new_attribute.

Return type:

HTTPResponse

Returns:

response json with attribute id