Skip to main content
Module

x/pterodactyl/pterodactyl.js

Javascript sdk for Flyte
Go to Latest
import * as pterodactyl from "https://deno.land/x/pterodactyl@v0.4.0/pterodactyl.js";

Functions

Creates a launch plan reference that can be used in a workkflow annotated function to utilize an existing flyte launch plan in a workflow. Only works when script is used as input to pterodactyl_register script. When called during local execution it throws.

Annotates a function as a task to be registered when provided to the pterodactyl_register script. If a script is executed normally this will return the provided function back to the caller.

Creates a task reference that can be used in a workflow annotated function to utilize an existing flyte task in a workflow. Only works when script is used as input to pterodactyl_register script. When called during local execution it throws.

Annotates a function a a workflow to be registered when provided to the pterodactyl_register script. If a script is executed normally this will return the provided function back to the caller.