PipelineContext Class

A context object carried by the pipeline request and response containers.

This is transport specific and can contain data persisted between pipeline requests (for example reusing an open connection pool or "session"), as well as used by the SDK developer to carry arbitrary data through the pipeline.

Inheritance
builtins.dict
PipelineContext

Constructor

PipelineContext(transport, **kwargs)

Parameters

transport
Required

The HTTP transport type.

kwargs
Required

Developer-defined keyword arguments.

Methods

clear

Context objects cannot be cleared.

pop

Removes specified key and returns the value.

update

Context objects cannot be updated.

clear

Context objects cannot be cleared.

clear()

Exceptions

pop

Removes specified key and returns the value.

pop(*args)

Exceptions

update

Context objects cannot be updated.

update(*args, **kwargs)

Exceptions