Skip to main content

Digital.ai Release SDK

Project description

Digital.ai Release Python SDK

The Digital.ai Release Python SDK (digitalai-release-sdk) provides a set of tools for developers to create container-based integration with Digital.ai Release. It simplifies integration creation by offering built-in functions to interact with the execution environment.

Features

  • Define custom tasks using the BaseTask abstract class.
  • Easily manage input and output properties.
  • Interact with the Digital.ai Release environment seamlessly.
  • Simplified API client for efficient communication with Release API.

Installation

Install the SDK using pip:

pip install digitalai-release-sdk

Getting Started

Example Task: hello.py

The following example demonstrates how to create a simple task using the SDK:

from digitalai.release.integration import BaseTask

class Hello(BaseTask):
    
    def execute(self) -> None:
        # Get the name from the input
        name = self.input_properties.get('yourName')
        if not name:
            raise ValueError("The 'yourName' field cannot be empty")

        # Create greeting message
        greeting = f"Hello {name}"

        # Add greeting to the task's comment section in the UI
        self.add_comment(greeting)

        # Store greeting as an output property
        self.set_output_property('greeting', greeting)

Changelog

Version 25.3.1

🛠️ Enhancements

  • Added support for skipping SSL verification in legacy clusters.

Version 25.3.0

🛠️ Enhancements

  • Added support for the lookup functionality in task fields, allowing dynamic population of field values based on runtime data or external sources.

🔗 Related Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digitalai_release_sdk-25.3.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

digitalai_release_sdk-25.3.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file digitalai_release_sdk-25.3.1.tar.gz.

File metadata

  • Download URL: digitalai_release_sdk-25.3.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for digitalai_release_sdk-25.3.1.tar.gz
Algorithm Hash digest
SHA256 03ba306235d04e6283982c63c963c8cc59ca0f5e2f755ecef5dd9358a08c7eaf
MD5 5d87a9eb9c78559d3af2cc012650904c
BLAKE2b-256 0d03846a846c84a2ec6179a53733650bee0c5d0c8d45f0b8e3153b87e995e530

See more details on using hashes here.

File details

Details for the file digitalai_release_sdk-25.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for digitalai_release_sdk-25.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 927c9077a8ff28e45455f4b003e3ab9af6411b6389a01921d3b422ddc6ba09d8
MD5 5bbaff29a676b4a6ea8ad807203a0742
BLAKE2b-256 4c6cdc4c4fe100ed204bff7418df1e6fda456896ec6b73721f92abb497765b9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page