--- orphan: true --- # {py:mod}`_algopy_testing.context_helpers.txn_context` ```{py:module} _algopy_testing.context_helpers.txn_context ``` ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`TransactionContext <_algopy_testing.context_helpers.txn_context.TransactionContext>` - ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context.TransactionContext :summary: ``` ```` ### API `````{py:class} TransactionContext() :canonical: _algopy_testing.context_helpers.txn_context.TransactionContext ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context.TransactionContext ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context.TransactionContext.__init__ ``` ````{py:method} defer_app_call(method: collections.abc.Callable[_algopy_testing.context_helpers.txn_context.TParamSpec, _algopy_testing.context_helpers.txn_context.TReturn], *args: _algopy_testing.context_helpers.txn_context.TParamSpec, **kwargs: _algopy_testing.context_helpers.txn_context.TParamSpec) -> _algopy_testing.context_helpers.txn_context.DeferredAppCall[_algopy_testing.context_helpers.txn_context.TReturn] :canonical: _algopy_testing.context_helpers.txn_context.TransactionContext.defer_app_call ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context.TransactionContext.defer_app_call ``` ```` ````{py:method} create_group(gtxns: typing.Sequence[algopy.gtxn.TransactionBase | _algopy_testing.context_helpers.txn_context.DeferredAppCall[typing.Any]] | None = None, active_txn_index: int | None = None, active_txn_overrides: _algopy_testing.models.txn_fields.ActiveTransactionFields | None = None) -> collections.abc.Iterator[None] :canonical: _algopy_testing.context_helpers.txn_context.TransactionContext.create_group ```{autodoc2-docstring} _algopy_testing.context_helpers.txn_context.TransactionContext.create_group ``` ```` `````