class documentation

class _SubmissionBinding: (source)

Constructor: _SubmissionBinding(runtime, submitted)

View In Hierarchy

Runtime and submission bound to one SDK task context.

The submission is held weakly. A child task copies the context of the submission that created it and can outlive that submission, for example a token renewal task started from a request. A strong reference would keep the finished submission, its exception, the traceback, and every caller frame in that traceback alive for as long as the child task runs. A running submission is always held strongly by its caller or by runtime tracking, so the weak reference resolves while it matters.

Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable runtime Undocumented
Property submitted Return the bound submission, or None after it was collected.
Instance Variable _submitted_ref Undocumented
def __init__(self, runtime: AsyncRuntime, submitted: CrossLoopAwaitable[Any]): (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented

Return the bound submission, or None after it was collected.

_submitted_ref = (source)

Undocumented