Lists proxy handler

Handler for a certain lists.

class luna_api.app.handlers.lists_proxy_handler.BaseFacesHandlerWithListFaceDeletionChecker(request)[source]

Base handler for lists with faces deletion checker

checkTokenPermissions()[source]

Description see checkTokenPermissions().

Return type:

None

class luna_api.app.handlers.lists_proxy_handler.ListHandler(request)[source]

Handler for work with a list. See spec_lists.

Resource: “/{api_version}/lists/{listId}”

class luna_api.app.handlers.lists_proxy_handler.ListsCountHandler(request)[source]

Handler for getting face count. See spec_get_lists_count.

Resource: “/{api_version}/lists/count”

checkTokenPermissions()[source]

Description see checkTokenPermissions().

Return type:

None

class luna_api.app.handlers.lists_proxy_handler.ListsHandler(request)[source]

Handler for create new lists. See spec_lists.

Resource: “/{api_version}/lists”

async postProcessingPost(response)[source]

Default post processing response from the service :param response: response

Returns:

response in api format

async prepareRequestPost()[source]

Prepare proxy request for method post :returns: proxy request

Return type:

ProxyRequest