# glance.api.v2.tasks module

class glance.api.v2.tasks.RequestDeserializer(schema=None, policy_engine=None)

  Bases: `JSONRequestDeserializer`

  create(request)
  index(request)

class glance.api.v2.tasks.ResponseSerializer(task_schema=None, partial_task_schema=None)

  Bases: `JSONResponseSerializer`

  create(response, task)
  get(response, task)
  index(response, result)

class glance.api.v2.tasks.TasksController(db_api=None, policy_enforcer=None, notifier=None, store_api=None)

  Bases: `object`

  Manages operations on tasks.

  create(req, task)
  delete(req, task_id)
  get(req, task_id)
  index(req, marker=None, limit=None, sort_key='created_at', sort_dir='desc', filters=None)

glance.api.v2.tasks.create_resource()

  Task resource factory method

glance.api.v2.tasks.get_collection_schema()

glance.api.v2.tasks.get_task_schema()

this page last updated: 2026-04-16 16:57:26

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

found an error? report a bug