Skip to content

targets

agent_cover.instrumentation.promptflow.targets

PromptFlow Instrumentation Targets.

This module defines the list of specific modules and functions within the PromptFlow ecosystem that AgentCover should instrument.

Attributes:

Name Type Description
SUPPORTED_TARGETS TargetList

A list of dictionaries defining the target modules, class/function names, and specific parameters (such as the instrumentation type) for interception.

Functions

get_promptflow_targets()

Retrieves the list of supported PromptFlow instrumentation targets.

Returns:

Name Type Description
TargetList TargetList

The list of targets defined in SUPPORTED_TARGETS.

Source code in src/agent_cover/instrumentation/promptflow/targets.py
def get_promptflow_targets() -> TargetList:
    """Retrieves the list of supported PromptFlow instrumentation targets.

    Returns:
        TargetList: The list of targets defined in SUPPORTED_TARGETS.
    """
    return SUPPORTED_TARGETS