dragon.infrastructure.connection.PipeOptions

class PipeOptions[source]

Bases: object

Options class for customizing Pipe()

Separate object because this, too, will expand over time.

Same rationale as for ConnectionOptions.

__init__(*, creation_policy=CreationPolicy.EARLY, conn_options=None)[source]

Methods

__init__(*[, creation_policy, conn_options])

class CreationPolicy[source]

Bases: Enum

EXTERNAL = 1
EARLY = 2
RECEIVER_CREATES = 3
SENDER_CREATES = 4
classmethod __contains__(member)[source]

Return True if member is a member of this enum raises TypeError if member is not an enum member

note: in 3.12 TypeError will no longer be raised, and True will also be returned if member is the value of a member in this enum

classmethod __getitem__(name)[source]

Return the member matching name.

classmethod __len__()[source]

Return the number of members (no aliases)

__init__(*, creation_policy=CreationPolicy.EARLY, conn_options=None)[source]