microsoft.opentelemetry.a365.hosting.scope_helpers.populate_invoke_agent_scope module

microsoft.opentelemetry.a365.hosting.scope_helpers.populate_invoke_agent_scope.populate(scope, turn_context)[source]

Populate all supported InvokeAgentScope tags from the provided TurnContext.

Parameters:
  • scope (InvokeAgentScope) – The InvokeAgentScope instance to populate.

  • turn_context (TurnContext) – The TurnContext containing activity information.

Return type:

InvokeAgentScope

Returns:

The updated InvokeAgentScope instance.