YellowDog Provider for Apache Airflow Logo

Contents

  • Overview
  • Concepts
  • Quick start
  • Provision, run, shut down
  • Step by step
  • Using the hook from TaskFlow
  • Connections
  • Operators
  • Sensors
  • Templating and callables
  • Troubleshooting
  • API reference
    • Hooks
    • Operators
    • Sensors
    • Links
      • WorkRequirementPortalLink
        • WorkRequirementPortalLink.name
        • WorkRequirementPortalLink.path_prefix
      • WorkerPoolPortalLink
        • WorkerPoolPortalLink.name
        • WorkerPoolPortalLink.path_prefix
      • portal_base_from_api_url()
    • Triggers
    • Exceptions
    • Utilities
  • Changelog
YellowDog Provider for Apache Airflow
  • API reference
  • Links
  • View page source

Links

“View in YellowDog Portal” operator extra links.

Airflow 3 computes an operator link when the task instance finishes (or defers) and stores it in XCom; the API server then serves the stored value without touching the operator, the hook or the connection. get_link() therefore runs on the worker, where the connection and the XCom return_value (the resource ID, pushed before the task waits) are available.

class yellowdog_provider.links.yellowdog_links.WorkRequirementPortalLink[source]

Bases: _PortalLink

Link to the work requirement in the YellowDog Portal.

property name: str

Name of the link. This will be the button name on the task UI.

path_prefix = 'work'
class yellowdog_provider.links.yellowdog_links.WorkerPoolPortalLink[source]

Bases: _PortalLink

Link to the worker pool in the YellowDog Portal.

property name: str

Name of the link. This will be the button name on the task UI.

path_prefix = 'workers'
yellowdog_provider.links.yellowdog_links.portal_base_from_api_url(api_url: str) → str | None[source]

Derive the Portal’s base URL from a Platform API URL by replacing a leading api. host label with portal. (https://api.yellowdog.ai -> https://portal.yellowdog.ai).

Returns:

the Portal base URL (no trailing slash), or None if the host has no leading api. label

Previous Next

© Copyright 2026, YellowDog Limited. Version 2.0.0.

Built with Sphinx using a theme provided by Read the Docs.