dragon.infrastructure.connection.PipeOptions

class PipeOptions

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)

Methods

__init__(*[, creation_policy, conn_options])

class CreationPolicy

Bases: Enum

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

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)

Return the member matching name.

classmethod __len__()

Return the number of members (no aliases)

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