Skip to content

Latest commit

 

History

History
91 lines (61 loc) · 7.69 KB

File metadata and controls

91 lines (61 loc) · 7.69 KB
graph LR
    DeliveryApiClient["DeliveryApiClient"]
    DeliveryDataModels["DeliveryDataModels"]
    DecisioningEngine["DecisioningEngine"]
    SDKCore["SDKCore"]
    SDKTools["SDKTools"]
    SDKCore -- "Initiates API calls" --> DeliveryApiClient
    SDKCore -- "Configures API client" --> DeliveryApiClient
    DeliveryApiClient -- "Serializes/Deserializes" --> DeliveryDataModels
    DeliveryApiClient -- "Uses for request/response structures" --> DeliveryDataModels
    SDKCore -- "Constructs requests using" --> DeliveryDataModels
    SDKCore -- "Processes responses from" --> DeliveryDataModels
    DecisioningEngine -- "Constructs notifications using" --> DeliveryDataModels
    DecisioningEngine -- "Validates requests using" --> DeliveryDataModels
    SDKTools -- "Creates instances of" --> DeliveryDataModels
    SDKTools -- "Manipulates" --> DeliveryDataModels
    SDKCore -- "Leverages for internal decisioning" --> DecisioningEngine
    DecisioningEngine -- "Utilizes helper functions from" --> SDKTools
Loading

CodeBoardingDemoContact

Component Details

The target-python-sdk provides a comprehensive interface for interacting with the Adobe Target Delivery API. It orchestrates the process of constructing and sending delivery requests, handling API responses, and performing client-side decisioning. The SDK leverages dedicated components for managing network communication, defining data structures, and implementing decisioning logic, ensuring efficient and structured interaction with the Adobe Target service.

DeliveryApiClient

This component is responsible for all network communication with the Adobe Target Delivery API. It manages the underlying HTTP requests, handles API configuration, processes responses, and deals with various API-related exceptions, acting as the primary interface for sending and receiving data from the Target service. It also handles request serialization, response deserialization, and error handling for network communication.

Related Classes/Methods:

DeliveryDataModels

This component defines the structured data models used for all requests and responses exchanged with the Adobe Target Delivery API. It provides the blueprints for various entities such as DeliveryRequest, DeliveryResponse, MboxResponse, Notification, and Context, ensuring consistent data formatting across the SDK and the API.

Related Classes/Methods:

DecisioningEngine

This component encapsulates the internal logic for processing and managing decisions within the Target Python SDK. It handles tasks such as adding and sending notifications, validating incoming requests, and mapping geographical data, often interacting with the Delivery Data Models to structure its operations.

Related Classes/Methods:

SDKCore

This component represents the high-level interface and core orchestration logic of the Target Python SDK. It provides methods for initiating delivery requests, handling responses, and managing the overall interaction flow with the Target service, often leveraging helper functions for request construction and response processing.

Related Classes/Methods:

  • target_python_sdk.helper (full file reference)
  • target_python_sdk.target (full file reference)
  • target_python_sdk.TargetClient (full file reference)

SDKTools

This component provides a set of utility functions and helper classes that support various operations within the Target Python SDK. These tools assist in tasks such as creating structured response objects, managing properties, and general data manipulation, contributing to the overall functionality and ease of use of the SDK.

Related Classes/Methods:

  • target_tools.response_helpers (full file reference)
  • target_tools.utils (full file reference)