# Union.ai BYOC (Bring Your Own Cloud) Documentation > Full documentation (single file): https://www.union.ai/docs/v2/byoc/llms-full.txt > Site: https://www.union.ai/docs/v2/byoc Each entry below is `- [Page title](URL)` followed by the H2/H3 headings found on that page. Pages link to individual `page.md` files. Sections marked with a "Section bundle" link have a `section.md` that concatenates all pages in the section into a single file — use it to load an entire section into context at once. ## User guide - [Overview](https://www.union.ai/docs/v2/byoc/user-guide/overview/page.md) - Pure Python, no DSL - Durability - Reproducibility - Recoverability - Built for scale - What this means in practice - [Quickstart](https://www.union.ai/docs/v2/byoc/user-guide/quickstart/page.md) - What you'll need - Install the SDK - Configure your connection - Write your first workflow - Run it - See the results - Next steps - [Core concepts](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/page.md) - How Flyte works > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/section.md - [Core concepts > TaskEnvironment](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/task-environment/page.md) - A minimal example - What TaskEnvironment controls - Configuring resources - Configuring container images - Multiple tasks, one environment - Multiple environments - Next steps - [Core concepts > Tasks](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/tasks/page.md) - Defining a task - Type hints are required - Tasks calling tasks - The top-level task - Running tasks locally - Running tasks remotely - Next steps - [Core concepts > Runs and actions](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/runs-and-actions/page.md) - What is a run? - What is an action? - Runs vs actions in practice - Viewing runs in the UI - Understanding the execution graph - Checking run status - Next steps - [Core concepts > Apps](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/introducing-apps/page.md) - Tasks vs apps - AppEnvironment - A hello world app - Understanding the code - Serving the app - When to use apps vs tasks - Next steps - [Core concepts > Key capabilities](https://www.union.ai/docs/v2/byoc/user-guide/core-concepts/key-capabilities/page.md) - Environment and resources - Deployment - Data handling - Parallelism and composition - Security and automation - Durability and reliability - Apps and serving - Notebooks - Next steps - [Local setup](https://www.union.ai/docs/v2/byoc/user-guide/local-setup/page.md) - Prerequisites - Install the flyte package - Configuration file - Using the configuration - Explicit configuration - Check current configuration - Inline configuration - CLI - Python - Next steps - [Basic project: RAG](https://www.union.ai/docs/v2/byoc/user-guide/basic-project/page.md) - Concepts covered - Part 1: The embedding pipeline - Setting up the environment - Fetching data - Creating embeddings - Orchestrating the pipeline - Running the pipeline - Part 2: The serving application - App environment configuration - The Streamlit application - Deploying the app - Key takeaways - [Advanced project: LLM reporting agent](https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/page.md) - What you'll build - Concepts covered - Architecture - Prerequisites - Parts - Key takeaways > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/section.md - [Advanced project: LLM reporting agent > Resilient generation](https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/resilient-generation/page.md) - Two environments - Reusable environment for LLM work - ReusePolicy parameters - Standard environment for orchestration - Traced LLM calls - Benefits of tracing - When to use @flyte.trace - Traced helper functions - Retry strategies - Configuring retries - Combining tracing with retries - Structured prompts - Pydantic models for structured output - Next steps - [Advanced project: LLM reporting agent > Agentic refinement](https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/agentic-refinement/page.md) - The agentic pattern - Critique function - Revise function - The refinement loop - How it works - Early exit - Grouping iterations with flyte.group - Why use flyte.group? - Group context - Configuring the loop - Choosing thresholds - Best practices for agentic loops - Next steps - [Advanced project: LLM reporting agent > Parallel outputs](https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/parallel-outputs/page.md) - The formatting functions - When to trace and when not to - Parallel execution with asyncio.gather - How asyncio.gather works - When to use asyncio.gather - Grouping parallel operations - Collecting outputs in a directory - The batch pipeline - Pipeline flow - Running the pipeline - Cost optimization tips - 1. Choose the right model - 2. Tune iteration parameters - 3. Use caching effectively - 4. Scale the batch - Next steps - [Advanced project: LLM reporting agent > Serving app](https://www.union.ai/docs/v2/byoc/user-guide/advanced-project/serving-app/page.md) - App environment configuration - Key configuration - Connecting to pipeline output with RunOutput - The Streamlit application - Displaying multiple reports - Generation instructions - Deploying the app - Workflow: Generate then view - Automatic updates with RunOutput - Complete example structure - Running the complete example - Summary - [From Flyte 1 to 2](https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/page.md) - Pure Python execution - Sync Python - Async Python - Simplified API - Fine-grained reproducibility and recoverability - Improved remote functionality - Native Notebook support - High performance engine - Enhanced UI > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/section.md - [From Flyte 1 to 2 > Pure Python](https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/pure-python/page.md) - From `@workflow` DSL to pure Python - Flyte 1 - Flyte 2 - [From Flyte 1 to 2 > Asynchronous model](https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/async/page.md) - Why we need an async model - Understanding concurrency vs. parallelism - Python's async evolution - Parallelism in Flyte 1 vs Flyte 2 - Core async concepts - True parallelism for all workloads - Calling sync tasks from async tasks - Synchronous task support - The `flyte.map` function: Familiar patterns - Sync Map - Async Map - [From Flyte 1 to 2 > Migration from Flyte 1 to Flyte 2](https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/migration/page.md) - 1. Move task configuration to a `TaskEnvironment` object - 2. Replace workflow decorators - Flyte 1 - Flyte 2 Sync - Flyte 2 Async - [From Flyte 1 to 2 > Considerations](https://www.union.ai/docs/v2/byoc/user-guide/flyte-2/considerations/page.md) - Non-deterministic behavior - Dealing with non-determinism - Type safety - No global state - Driver pod requirements - OOM risk from materialized I/O - [Configure tasks](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/page.md) - Task configuration levels - Example - Parameter interaction - Task configuration parameters - `name` - `short_name` - `image` - `resources` - `env_vars` - `secrets` - `cache` - `pod_template` - `reusable` - `depends_on` - `description` - `plugin_config` - `report` - `max_inline_io_bytes` - `retries` - `timeout` - `triggers` - `interruptible` - `queue` - `docs` > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/section.md - [Configure tasks > Container images](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/container-images/page.md) - Specifying your own image directly - Specifying your own image with the `flyte.Image` object - Example: Defining a custom image with `Image.from_debian_base` - Example: Defining an image based on uv script metadata - Image building - Configuring the `builder` - Local image building - Remote `ImageBuilder` - Install private PyPI packages - [Configure tasks > Resources](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/resources/page.md) - Resources data class - Examples - Usage in TaskEnvironment - Usage in a task-specific override - Resource types - CPU resources - Memory resources - GPU resources - Custom device specifications - TPU resources - Storage resources - [Configure tasks > Secrets](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/secrets/page.md) - Creating a literal string secret - Creating a file secret - Scoping secrets - Listing secrets - Deleting secrets - Using a literal string secret - Using a file secret - [Configure tasks > Caching](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/caching/page.md) - Overview - Basic caching usage - `"auto"` - Automatic versioning - `"override"` - `"disable"` - No caching - Advanced caching configuration - Ignoring specific inputs - Cache serialization - Salt for cache key variation - Cache policies - Function body policy (default) - Custom cache policies - Caching configuration at different levels - `TaskEnvironment` Level - `@env.task` decorator level - `task.override` level - Runtime cache control - Project and domain cache isolation - Local development caching - [Configure tasks > Reusable containers](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/reusable-containers/page.md) - How It Works - Basic Usage - `ReusePolicy` parameters - `replicas`: Container pool size - `concurrency`: Tasks per container - `idle_ttl` vs `scaledown_ttl`: Container lifecycle - Understanding parameter relationships - Key relationships - Simple example - [Configure tasks > Pod templates](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/pod-templates/page.md) - How it works - Requirements - Basic usage - PodTemplate parameters - Volume mounts - GCS/S3 volume mounts - Sidecar containers - Image pull secrets - Cluster-specific configuration - Important notes - Best practices - Learn more - [Configure tasks > Multiple environments](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/multiple-environments/page.md) - Constraints on multiple environments - Task `depends_on` constraints - Dependency inclusion constraints - Example - [Configure tasks > Retries and timeouts](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/retries-and-timeouts/page.md) - Retries - Retry example - Timeouts - Timeout example - [Configure tasks > Triggers](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/triggers/page.md) - Triggers are set in the task decorator - `flyte.Trigger` - Core Parameters - Configuration Parameters - Runtime Override Parameters - Metadata Parameters - The `automation` parameter with `flyte.FixedRate` - Parameters - Examples - The `automation` parameter with `flyte.Cron` - Parameters - Examples - The `inputs` parameter - Basic Usage - Using `flyte.TriggerTime` - Required vs optional parameters - Complex input types - Predefined schedule triggers - Available Predefined Triggers - Predefined Trigger Parameters - Trigger time in predefined triggers - Multiple triggers per task - Deploying a task with triggers - Activating and deactivating triggers - Trigger run timing - Cron-based triggers - Fixed-rate triggers without `start_time` - Fixed-rate triggers with `start_time` - Deleting triggers - Schedule time zones - Setting time zone for a Cron schedule - `flyte.TriggerTime` is always in UTC - Daylight Savings Time behavior - [Configure tasks > Task Plugins](https://www.union.ai/docs/v2/byoc/user-guide/task-configuration/task-plugins/page.md) - Default Execution: Containers - Compute Plugins - Available Compute Plugins - How Compute Plugins Work - Using Compute Plugins - Using Plugins on Union - Backend Integrations - Next Steps - [Build tasks](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/page.md) - What you'll learn - When to use these patterns > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/task-programming/section.md - [Build tasks > Files and directories](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/files-and-directories/page.md) - Example usage - [Build tasks > Data classes and structures](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/dataclasses-and-structures/page.md) - Example: Combining Dataclasses and Pydantic Models - [Build tasks > DataFrames](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/dataframes/page.md) - Setting up the environment and sample data - Create a raw DataFrame - Create a flyte.io.DataFrame - Automatically convert between types - Downloading DataFrames - Run the example - [Build tasks > Custom types](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/handling-custom-types/page.md) - Types of extensions - Creating a type transformer - Step 1: Define your custom type - Step 2: Create the type transformer - Step 3: Register the transformer - Distributing type plugins - Configure pyproject.toml - Automatic loading - Controlling plugin loading - Using custom types in tasks - DataFrame extensions - Best practices - [Build tasks > Custom context](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/custom-context/page.md) - Overview - When to use it and when not to - Setting custom context - Run-level context - Overriding inside a task (local override that affects nested tasks) - Adding new keys for nested tasks - Accessing custom context - [Build tasks > Abort and cancel actions](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/abort-tasks/page.md) - Action lifetime - Canceling actions programmatically - External abort - Aborting via the CLI - Handling external aborts - [Build tasks > Run a bioinformatics tool](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/container-tasks/page.md) - What are Container Tasks? - How Data Flows In and Out - Basic Usage - Template Syntax for Inputs - Using Container Tasks in Workflows - Advanced: Passing Files and Directories - Use Case: Agentic Sandbox Execution - Use Case: Legacy and Specialized Containers - Use Case: Multi-Language Workflows - Configuration Options - ContainerTask Parameters - Supported Input/Output Types - Best Practices - Local Execution - When to Use Container Tasks - [Build tasks > Links](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/links/page.md) - Creating a link - Using execution metadata - Dynamic links with override - [Build tasks > Reports](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/reports/page.md) - A simple example - A more complex example - Streaming example - [Build tasks > Notebooks](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/notebooks/page.md) - Iterating on and running a workflow - Accessing runs and downloading logs - [Build tasks > Remote tasks](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/remote-tasks/page.md) - Prerequisites - Basic usage - Understanding lazy loading - When tasks are fetched - Benefits of lazy loading - Error handling - Eager fetching with `fetch()` - Module-level vs dynamic loading - Complete example - Team A: Spark environment - Team B: ML environment - Team C: Orchestration - Invoke remote tasks in a script. - Why use remote tasks? - When to use remote tasks - How remote tasks work - Security model - Type system - Versioning options - Customizing remote tasks - Available overrides - Override examples - Chain overrides - Best practices - 1. Use meaningful task names - 2. Document task interfaces - 3. Prefer module-level loading - 4. Handle versioning thoughtfully - 5. Deploy remote tasks first - Limitations - Next steps - [Build tasks > Error handling](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/error-handling/page.md) - [Build tasks > Traces](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/traces/page.md) - What are traced functions for? - What Gets Traced - Errors are not recorded - Supported Function Types - Task Orchestration Pattern - Relationship to Caching and Checkpointing - How They Work Together - Execution Flow - Error Handling and Observability - Examples in Practice - LLM Pipeline with Traces - [Build tasks > Grouping actions](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/grouping-actions/page.md) - What are groups? - The problem groups solve - How groups work - Common grouping patterns - Sequential operations - Parallel processing with groups - Multi-phase workflows - Nested groups - Conditional grouping - Key insights - [Build tasks > Fanout](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/fanout/page.md) - Understanding fanout - Example - Parallel execution - Running the example - How Flyte handles concurrency and parallelism - [Build tasks > Test business logic directly](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/unit-testing/page.md) - Understanding Task Invocation - Direct Function Invocation - Using `flyte.run()` - Testing Business Logic - Testing Async Tasks - Testing Nested Tasks - Testing Type Transformations and Serialization - Testing Type Restrictions - Testing Nested Tasks with Serialization - Testing Traced Functions - Best Practices - Quick Reference - Example Test Suite - Future Improvements - [Build tasks > Regular async function (not a task)](https://www.union.ai/docs/v2/byoc/user-guide/task-programming/other-features/page.md) - Task Forwarding - Passing Tasks and Functions as Arguments - Custom Action Names - Set at Task Definition - Override at Call Time - Invoking Async Functions from Sync Tasks - Async and Sync Task Interoperability - Calling Sync Tasks from Async Tasks - Using with `flyte.map.aio()` - Using AnyIO in Async Tasks - [Run and deploy tasks](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/page.md) - Ephemeral deployment and immediate execution - With the `flyte run` CLI command - With the `flyte.run()` SDK function - Persistent deployment - With the `flyte deploy` CLI command - With the `flyte.deploy()` SDK function - Running already deployed tasks - With the `flyte run` CLI command - With the `flyte.run()` SDK function > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/section.md - [Run and deploy tasks > How task run works](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/how-task-run-works/page.md) - Ephemeral deployment + run: The development shortcut - CLI: Ephemeral deployment and execution - SDK: Programmatic ephemeral deployment + run - Running deployed tasks - CLI: Running deployed tasks - SDK: Running deployed tasks - Local execution - CLI: Local execution - SDK: Local execution - Running tasks through the Union UI - Accessing task execution in the Union UI - Execution flow and architecture - Fast registration architecture - Ephemeral preparation logic - Execution modes comparison - [Run and deploy tasks > Interact with runs and actions](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/interacting-with-runs/page.md) - Understanding runs and actions - Key concepts - Working with runs - Retrieving a run - CLI: Get run information - Watching run progress - Getting detailed run information - Working with actions - Retrieving an action - CLI: Get action information - Nested actions - Getting detailed action information - Retrieving inputs and outputs - Programmatic access - CLI: Get inputs and outputs - Handling failures - Understanding data storage - Accessing large data from cloud storage - S3 storage access - GCS storage access - Azure Blob Storage access - Complete example - API reference - Key classes - CLI commands - Storage configuration - [Run and deploy tasks > Work with local data](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/work-with-local-data/page.md) - Local execution - Uploading local data to remote runs - Uploading DataFrames - Uploading files - Uploading directories - Passing outputs between runs - Performance considerations - Summary - [Run and deploy tasks > Run command options](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/run-command-options/page.md) - `--project`, `--domain` - `--local` - When to use local execution - `--copy-style` - Copy style options - `--root-dir` - `--raw-data-path` - Use cases - `--service-account` - Use cases - `--name` - Benefits of custom names - `--follow` - Behavior - `--image` - Image mapping formats - `--no-sync-local-sys-paths` - Task argument passing - SDK options - [Run and deploy tasks > How task deployment works](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/how-task-deployment-works/page.md) - 1. Module loading and task environment discovery - Single file (default) - `--all` option - `--recursive` option - 2. Task analysis and serialization - 3. Task environment dependency resolution - 4. Code bundle creation and upload - `--copy_style loaded_modules` (default) - `--copy_style all` - `--copy_style none` - `--root-dir` option - 5. Image building - Local image building - Remote image building - Understanding option relationships - [Run and deploy tasks > Deploy command options](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/deploy-command-options/page.md) - `--project`, `--domain` - `--version` - When versions are used - `--dry-run` - `--all` and `--recursive` - `--copy-style` - `--copy-style loaded_modules` (default) - `--copy-style all` - `--copy-style none` - `--root-dir` - Default behavior (without `--root-dir`) - Common use cases - How it works - Example with complex project structure - `--image` - Named image mappings - Default image mapping - How it works - `--ignore-load-errors` - `--no-sync-local-sys-paths` - Default behavior (path synchronization enabled) - When to disable path synchronization - Use cases for disabling - How it works - SDK deployment options - [Run and deploy tasks > Code packaging for remote execution](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/packaging/page.md) - Quick comparison - Code bundling - How it works - Automatic code bundling - Manual code bundling - Controlling the root directory - Code bundling examples - When to use code bundling - Container-based deployment - How it works - Configuration - Image source copying methods - Complete container-based example - Using externally built images - Container-based best practices - When to use container-based deployment - Choosing the right approach - Decision tree - Hybrid approach - Troubleshooting - Import errors - Code changes not reflected - Files missing in container - Container build failures - Version conflicts - [Run and deploy tasks > Running Tasks via Webhooks](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/invoke-webhook/page.md) - How passthrough authentication works - Setting up passthrough authentication - Initialize with `flyte.init_passthrough()` - Passing authentication metadata - Complete example - Calling the webhook - Best practices - Troubleshooting - "FLYTE_ENDPOINT environment variable not set" - "Authentication credentials required" - "Task not found" - Tasks run with wrong permissions - [Run and deploy tasks > Deployment patterns](https://www.union.ai/docs/v2/byoc/user-guide/task-deployment/deployment-patterns/page.md) - Overview of deployment patterns - Simple file deployment - Example structure - Deployment commands - When to use - Custom Dockerfile deployment - Example structure - Alternative: Dockerfile in different directory - Key considerations - When to use - PyProject package deployment - Example structure - Business logic modules - Flyte orchestration layer - Entrypoint configuration - Dependencies and configuration - Key features - Key learning points - Usage patterns - What this example demonstrates - When to use - Package structure deployment - Example structure - Key concepts - Running with root directory - How `--root-dir` works - Alternative: Using a Python project - When to use - Full build deployment - Overview - Key configuration - Local dependency example - Critical configuration components - Configuration options - Version management best practices - Performance considerations - When to use - Troubleshooting - Python path deployment - Example structure - Implementation - Task environment dependencies - Key considerations - CLI vs Direct Python execution - Best practices - Common pitfalls - When to use - Dynamic environment deployment - Domain-based environment selection - Why this pattern works - How it works - Important constraints - Alternative: Environment variable approach - Usage patterns - When to use dynamic environments - Best practices - Project organization - Image management - Configuration management - Development workflow - Choosing the right pattern - [Scale your runs](https://www.union.ai/docs/v2/byoc/user-guide/run-scaling/page.md) - Understanding Flyte execution - Performance optimization - Key concepts for scaling > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/run-scaling/section.md - [Scale your runs > Data flow](https://www.union.ai/docs/v2/byoc/user-guide/run-scaling/data-flow/page.md) - Overview - Data types and transport - Passed by reference - Passed by value (inline I/O) - Task execution and data flow - Input download - Output upload - Task-to-task data flow - Caching and data hashing - Cache key computation - Inline data caching - Reference data hashing - Cache control - Traces and data flow - Object stores and latency considerations - Configuring data storage - Organization and project level - Per-run configuration - [Scale your runs > Life of a run](https://www.union.ai/docs/v2/byoc/user-guide/run-scaling/life-of-a-run/page.md) - Overview - Phase 1: Code analysis and preparation - Phase 2: Image building - Phase 3: Code bundling - Default: `copy_style="loaded_modules"` - Alternative: `copy_style="none"` - Phase 4: Upload code bundle - Phase 5: Run creation and queuing - Phase 6: Task execution in data plane - Container startup - Invoking downstream tasks - Execution flow diagram - Action identifiers and crash recovery - Downstream task execution - Reusable containers - Reusable container execution flow - State replication and visualization - Queue Service to Run Service - UI limitations - Optimization opportunities - [Scale your runs > Scale your workflows](https://www.union.ai/docs/v2/byoc/user-guide/run-scaling/scale-your-workflows/page.md) - Understanding performance dimensions - Latency - Throughput - Task execution overhead - The overhead principle - System architecture and data flow - Optimization strategies - 1. Use reusable containers for concurrency - 2. Batch workloads to reduce overhead - 3. Use traces for lightweight operations - 4. Limit fanout for system stability - 5. Optimize data transfer - 6. Leverage caching - 7. Parallelize with `flyte.map` - Performance tuning workflow - Real-world example: PyIceberg batch processing - Example: Optimizing a data pipeline - Before optimization - After optimization - When to contact the Union team - [Configure apps](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/page.md) - Hello World example - Using fserve args - Using @app_env.server - Differences from TaskEnvironment - Configuration topics > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/section.md - [Configure apps > App environment settings](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/app-environment-settings/page.md) - Shared environment settings - App-specific environment settings - `type` - `port` - `args` - `command` - `requires_auth` - `domain` - `links` - `include` - `parameters` - `scaling` - `depends_on` - App startup - Server decorator via `@app_env.server` - Container command via `command` vs `args` - Shared settings - [Configure apps > Including additional files](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/including-additional-files/page.md) - How include works - When to use include - Examples - Multi-file Streamlit app - Multi-file FastAPI app - App with configuration files - File discovery - Path resolution - Best practices - Limitations - [Configure apps > Passing parameters into app environments](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/passing-parameters/page.md) - Parameter types overview - Basic parameter types - Delayed values - RunOutput - AppEndpoint - Overriding parameters at serve time - Example: FastAPI app with configurable model - Example: Using RunOutput for model serving - Accessing parameters in your app - Best practices - Limitations - [Configure apps > /// script](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/auto-scaling-apps/page.md) - Autoscaling apps - Scaling configuration - Basic scaling example - Scaling patterns - Idle TTL (Time To Live) - Autoscaling best practices - Autoscaling limitations - Autoscaling troubleshooting - [Configure apps > Apps depending on other environments](https://www.union.ai/docs/v2/byoc/user-guide/configure-apps/apps-depending-on-environments/page.md) - Basic usage - Example: App calling another app - Dependency chain - Multiple dependencies - Using AppEndpoint for dependency URLs - Deployment behavior - Task environment dependencies - Best practices - Example: A/B testing with dependencies - Limitations - [Build apps](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/page.md) - App types - Next steps > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/build-apps/section.md - [Build apps > Single-script apps](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/single-script-apps/page.md) - Plain Python HTTP server - Streamlit app - FastAPI app - Running single-script apps - When to use single-script apps - [Build apps > Multi-script apps](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/multi-script-apps/page.md) - FastAPI multi-script app - Project structure - Example: Multi-file FastAPI app - Automatic file discovery - Streamlit multi-script app - Project structure - Example: Multi-file Streamlit app - Deploying multi-file Streamlit app - Complex multi-file example - Project structure - Example code - Deploying complex app - Best practices - Troubleshooting - [Build apps > App usage patterns](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/app-usage-patterns/page.md) - Patterns overview - Call app from task - Example: Task calling an app - Call task from app (webhooks / APIs) - Example: Basic webhook app - Advanced webhook patterns - Webhook security and best practices - Example: GitHub webhook - Call app from app - Example: App calling another app - Using AppEndpoint parameter - WebSocket-based patterns - Example: Basic WebSocket app - WebSocket patterns - Using WebSockets with Flyte tasks - WebSocket client example - Browser-based apps - Best practices - Summary - [Build apps > Secret-based authentication](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/secret-based-authentication/page.md) - Create the secret - Define the FastAPI app - Deploy the FastAPI app - Invoke the endpoint - Authentication for vLLM and SGLang apps - Create the authentication secret - Deploy vLLM app with authentication - Deploy SGLang app with authentication - Invoke authenticated LLM endpoints - Accessing Swagger documentation - Security best practices - Troubleshooting - Next steps - [Build apps > Streamlit app](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/streamlit-app/page.md) - Basic Streamlit app - Single-file Streamlit app - Multi-file Streamlit app - Example: Data visualization dashboard - Best practices - Troubleshooting - [Build apps > FastAPI app](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/fastapi-app/page.md) - Basic FastAPI app - Serving a machine learning model - Accessing Swagger documentation - Example: REST API with multiple endpoints - Multi-file FastAPI app - Best practices - Advanced features - Troubleshooting - [Build apps > vLLM app](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/vllm-app/page.md) - Installation - Basic vLLM app - Using prefetched models - Model streaming - Custom vLLM arguments - Using the OpenAI-compatible API - Multi-GPU inference (Tensor Parallelism) - Model sharding with prefetch - Autoscaling - Best practices - Troubleshooting - [Build apps > SGLang app](https://www.union.ai/docs/v2/byoc/user-guide/build-apps/sglang-app/page.md) - Installation - Basic SGLang app - Using prefetched models - Model streaming - Custom SGLang arguments - Using the OpenAI-compatible API - Multi-GPU inference (Tensor Parallelism) - Model sharding with prefetch - Autoscaling - Structured generation - Best practices - Troubleshooting - [Serve and deploy apps](https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/page.md) - Serve vs Deploy - `flyte serve` - `flyte deploy` - Using Python SDK - Serve - Deploy - Using the CLI - Serve - Deploy - Next steps > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/section.md - [Serve and deploy apps > How app serving works](https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/how-app-serving-works/page.md) - Overview - Using the Python SDK - Overriding parameters - Advanced serving options - Using CLI - Return value - Best practices - Troubleshooting - [Serve and deploy apps > How app deployment works](https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/how-app-deployment-works/page.md) - Overview - Using the Python SDK - Deployment plan - Overriding App configuration at deployment time - Activation/deactivation - Using the CLI - Example: Full deployment configuration - Best practices - Deployment status and return value - Troubleshooting - [Serve and deploy apps > Activating and deactivating apps](https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/activating-and-deactivating-apps/page.md) - Activation - Activate after deployment - Activate an app - Check activation status - Deactivation - Lifecycle management - Typical deployment workflow - Blue-green deployment - Using CLI - Activate - Deactivate - Check status - Best practices - Automatic activation with serve - Example: Complete deployment and activation - Troubleshooting - [Serve and deploy apps > Prefetching models](https://www.union.ai/docs/v2/byoc/user-guide/serve-and-deploy-apps/prefetching-models/page.md) - Why prefetch? - Basic prefetch - Using Python SDK - Using CLI - Using prefetched models - Prefetch options - Custom artifact name - With HuggingFace token - With resources - Sharding models for multi-GPU - vLLM sharding - Using shard config via CLI - Using prefetched sharded models - CLI options - Complete example - Best practices - Troubleshooting - [Authenticating with Union](https://www.union.ai/docs/v2/byoc/user-guide/authenticating/page.md) - Quick start - Authentication modes - PKCE authentication (browser-based) {#pkce} - Device flow authentication {#device-flow} - API key authentication (OAuth2 app credentials) {#api-key} - Comparison table - Switching between authentication modes - Token storage and keyring {#token-storage} - How it works - Systems without keyring support - Solution: Install keyrings.alt - Verifying keyring functionality - Troubleshooting - Browser doesn't open for PKCE - Device flow code expires - API key doesn't work - Best practices --- ## Tutorials - [Distributed LLM pretraining](https://www.union.ai/docs/v2/byoc/tutorials/distributed-pretraining/page.md) - Overview - Implementation - Setting up the environment - Declaring resource requirements - Model configurations - Building the GPT model - The Lightning training module - Checkpointing for fault tolerance - Real-time metrics with Flyte Reports - Streaming data at scale - Distributed training with FSDP - Tying it together - Running the pipeline - Going further - [GPU-accelerated climate modeling](https://www.union.ai/docs/v2/byoc/tutorials/climate-modeling/page.md) - Overview - Implementation - Dependencies and container image - Simulation parameters and data structures - Task environments - Data ingestion: multiple sources in parallel - Preprocessing with Dask - GPU-accelerated atmospheric simulation - Distributing across multiple GPUs - The main workflow - Running the pipeline - Key concepts - Ensemble forecasting - Adaptive mesh refinement - Real-time event detection - Where to go next - [Multi-agent trading simulation](https://www.union.ai/docs/v2/byoc/tutorials/trading-agents/page.md) - TL;DR - What is an agent, anyway? - What's different here? - How it works: step-by-step walkthrough - Entry point - Analyst agents - Research agents - Trading agent - Risk agents - Retaining agent memory with S3 vectors - Running the simulation - Why Flyte? _(A quick note before you go)_ - [Run LLM-generated code](https://www.union.ai/docs/v2/byoc/tutorials/code-agent/page.md) - What this example demonstrates - Setting up the agent environment - Retrieve docs - Code generation - Running the code agent - [Text-to-SQL](https://www.union.ai/docs/v2/byoc/tutorials/text_to_sql/page.md) - Ingesting data - From question to SQL - Vector indexing - Table retrieval and context building - SQL generation and response synthesis - Building the QA dataset - Schema extraction and chunking - Question and SQL generation - Validation and quality control - Optimizing prompts - Evaluation pipeline - Iterative optimization - Run it - What we observed - The bigger lesson - [Automatic prompt engineering](https://www.union.ai/docs/v2/byoc/tutorials/auto_prompt_engineering/page.md) - Set up the environment - Prepare the evaluation dataset - Define models - Evaluate prompts - Optimize prompts - Build the full pipeline - Run it - Why this matters - Next steps - [Batching strategies for efficient scaling](https://www.union.ai/docs/v2/byoc/tutorials/micro-batching/page.md) - Use Case - Goals - Solution Architecture - 1. Failure transparency with @flyte.trace - 2. Reusable Containers for Efficiency - Key Benefits: - Architecture Flow: - Architecture Diagram - Implementation - Step 0: Set up the runtime - Step 1: Initialize Flyte Configuration - Step 2: Define Container Image - Step 3: Define Task Environments - Step 4: Define External Service Interactions - Step 5: Implement the Batch Processing Task - Step 6: Implement the Orchestrator Workflow - Step 7: Execute the Workflow - Batch Size Selection - Summary - [Deep research](https://www.union.ai/docs/v2/byoc/tutorials/deep-research/page.md) - Setting up the environment - Generate research queries - Search and summarize - Evaluate research completeness - Filter results - Generate the final answer - Orchestration - Run the deep research agent - Evaluate with Weights & Biases Weave - [Hyperparameter optimization](https://www.union.ai/docs/v2/byoc/tutorials/hpo/page.md) - A better way to run HPO - Declare dependencies - Define the task environment - Define the optimizer - Define the objective function - Define the main optimization loop - Run the experiment --- ## Integrations - [Dask](https://www.union.ai/docs/v2/byoc/integrations/dask/page.md) - Install the plugin - [OpenAI](https://www.union.ai/docs/v2/byoc/integrations/openai/page.md) - Install the plugin - [OpenAI > Agent tools](https://www.union.ai/docs/v2/byoc/integrations/openai/agent_tools/page.md) - Define the tools - Define the agent - Run the agent - Conclusion - [Pytorch](https://www.union.ai/docs/v2/byoc/integrations/pytorch/page.md) - [Ray](https://www.union.ai/docs/v2/byoc/integrations/ray/page.md) - Install the plugin - [Snowflake](https://www.union.ai/docs/v2/byoc/integrations/snowflake/page.md) - Installation - Quick start - Configuration - Required fields - Additional connection parameters - Authentication - Key-pair authentication - Password authentication - OAuth authentication - Query templating - Supported input types - Batched `INSERT` with list inputs - Parameterized `SELECT` - Multiple inputs - Retrieving query results - End-to-end example - [Spark](https://www.union.ai/docs/v2/byoc/integrations/spark/page.md) - [Weights & Biases](https://www.union.ai/docs/v2/byoc/integrations/wandb/page.md) - Installation - Quick start - What's next - [Weights & Biases > Experiments](https://www.union.ai/docs/v2/byoc/integrations/wandb/experiments/page.md) - Basic usage - Accessing the run object - Parent-child task relationships - Run modes - Using `run_mode="new"` for independent runs - Using `run_mode="shared"` for explicit sharing - Configuration with `wandb_config` - Workflow-level configuration - Overriding configuration for child tasks - Using traces with W&B runs - [Weights & Biases > Distributed training](https://www.union.ai/docs/v2/byoc/integrations/wandb/distributed_training/page.md) - Quick start - Run modes in distributed training - Single-node behavior - Multi-node behavior - Choosing run mode and rank scope - Single-node multi-GPU - Basic example with `auto` mode - Using `shared` mode for per-rank metrics - Using `new` mode for per-rank runs - Multi-node training with `Elastic` - Global scope (default): Single run across all nodes - Worker scope: One run per node - Shared mode: All ranks log to the same run - New mode: Separate run per rank - How it works - Run ID patterns - [Weights & Biases > Sweeps](https://www.union.ai/docs/v2/byoc/integrations/wandb/sweeps/page.md) - Creating a sweep - Running parallel agents - Writing objective functions - [Weights & Biases > Downloading logs](https://www.union.ai/docs/v2/byoc/integrations/wandb/downloading_logs/page.md) - Automatic download - Accessing run directories during execution - [Weights & Biases > Constraints and best practices](https://www.union.ai/docs/v2/byoc/integrations/wandb/constraints_and_best_practices/page.md) - Decorator ordering - Traces cannot use decorators - Maximum sweep agents - Configuration priority - Run ID generation - Sync delay for local files - Shared run mode requirements - Objective functions for sweeps - Error handling - [Weights & Biases > Manual integration](https://www.union.ai/docs/v2/byoc/integrations/wandb/manual/page.md) - Using the Wandb link class - With a custom run ID - Adding links at runtime with override - Using the `WandbSweep` link class --- ## Reference - [LLM-optimized documentation](https://www.union.ai/docs/v2/byoc/api-reference/flyte-context/page.md) - Per-page Markdown (`page.md`) - Section bundles (`section.md`) - Page index (`llms.txt`) - Full documentation (`llms-full.txt`) - [Migration from Flyte 1 to Flyte 2](https://www.union.ai/docs/v2/byoc/api-reference/migration/page.md) - Key API changes at a glance - Topics - [Philosophy and imports](overview/page.md) - [Container images](images/page.md) - [Configuration and CLI](configuration-and-cli/page.md) - [Tasks and workflows](tasks-and-workflows/page.md) - [Secrets, resources, and caching](secrets-resources-caching/page.md) - [Parallelism and async](parallelism-and-async/page.md) - [Triggers and dynamic workflows](triggers-and-dynamic/page.md) - [Examples and common gotchas](examples-and-gotchas/page.md) > Section bundle (all pages): https://www.union.ai/docs/v2/byoc/api-reference/migration/section.md - [Migration from Flyte 1 to Flyte 2 > Philosophy and imports](https://www.union.ai/docs/v2/byoc/api-reference/migration/overview/page.md) - Key paradigm shifts - What Flyte 2 eliminates - What Flyte 2 introduces - Package imports - Basic import changes - Flyte 1 - Flyte 2 - Import mapping table - [Migration from Flyte 1 to Flyte 2 > Container images](https://www.union.ai/docs/v2/byoc/api-reference/migration/images/page.md) - Basic migration - Flyte 1 - Flyte 2 - Image constructor methods - Image builder methods (chainable) - Builder configuration (local vs remote) - Private registry with secrets - Flyte 1 - Flyte 2 - Parameter mapping - [Migration from Flyte 1 to Flyte 2 > Configuration and CLI](https://www.union.ai/docs/v2/byoc/api-reference/migration/configuration-and-cli/page.md) - Configuration files - Config file location - Config format - Flyte 1 - Flyte 2 - Key config differences - Specifying config via CLI - Flyte 1 - Flyte 2 - Specifying config in code - CLI commands - Command mapping - Running tasks - Flyte 1 - Flyte 2 - Key CLI flag differences - Deploying - Flyte 1 - Flyte 2 - Running deployed tasks - Complete Flyte 2 CLI options - [Migration from Flyte 1 to Flyte 2 > Tasks and workflows](https://www.union.ai/docs/v2/byoc/api-reference/migration/tasks-and-workflows/page.md) - Basic task migration - Flyte 1 - Flyte 2 - Workflow to task migration - Flyte 1 - Flyte 2 Sync - Flyte 2 Async - TaskEnvironment configuration - Parameter mapping: @task to TaskEnvironment + @env.task - [Migration from Flyte 1 to Flyte 2 > Secrets, resources, and caching](https://www.union.ai/docs/v2/byoc/api-reference/migration/secrets-resources-caching/page.md) - Secrets - Declaring and accessing secrets - Flyte 1 - Flyte 2 - Secret configuration options - Secret name convention changes - Creating secrets via CLI - Resources - Basic resource configuration - Flyte 1 - Flyte 2 - GPU configuration - Flyte 1 - Flyte 2 - Supported GPU types (Flyte 2) - Resource parameter mapping - Caching - Basic caching - Flyte 1 - Flyte 2 - Cache behavior options (Flyte 2) - [Migration from Flyte 1 to Flyte 2 > Parallelism and async](https://www.union.ai/docs/v2/byoc/api-reference/migration/parallelism-and-async/page.md) - Basic map_task migration - Flyte 1 - Flyte 2 - map_task with concurrency - Flyte 1 - Flyte 2 - Async parallel execution with asyncio.gather - Concurrency control with semaphore - Error handling with asyncio.gather - flyte.map vs asyncio.gather comparison - Recommended pattern selection - Sync and async task patterns - Sync tasks calling sync tasks - Async tasks calling async tasks - Sequential execution with await - Flyte 1 - Flyte 2 - [Migration from Flyte 1 to Flyte 2 > Triggers and dynamic workflows](https://www.union.ai/docs/v2/byoc/api-reference/migration/triggers-and-dynamic/page.md) - LaunchPlan to Trigger migration - Flyte 1 - Flyte 2 - Trigger options - Deploying triggers - Dynamic workflows - @dynamic to regular tasks - Flyte 1 - Flyte 2 Sync - Flyte 2 Async - Conditional execution - Flyte 1 - Flyte 2 - Subworkflows to nested tasks - Flyte 1 - Flyte 2 - [Migration from Flyte 1 to Flyte 2 > Examples and common gotchas](https://www.union.ai/docs/v2/byoc/api-reference/migration/examples-and-gotchas/page.md) - Complete migration examples - Example 1: Simple ML pipeline - Flyte 1 - Flyte 2 - Example 2: Parallel processing with map_task - Flyte 1 - Flyte 2 Sync - Flyte 2 Async - Common gotchas - 1. current_context() is replaced - 2. Workflow >> ordering notation is gone - 3. flyte.map returns a generator - 4. Image configuration location - 5. Resource configuration - 6. Cache version - 7. Entrypoint task naming - 8. Memory parameter name - 9. Type annotations - Quick reference cheat sheet - [Flyte CLI](https://www.union.ai/docs/v2/byoc/api-reference/flyte-cli/page.md) - flyte - flyte abort - flyte build - flyte create - flyte delete - flyte deploy - flyte gen - flyte get - flyte prefetch - flyte run - flyte serve - flyte start - flyte update - flyte whoami - [Flyte SDK](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/page.md) - [Flyte SDK > Classes](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/classes/page.md) - [Flyte SDK > Packages](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/page.md) - [Flyte SDK > Packages > flyte](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/page.md) - Directory - Classes - Protocols - Methods - Variables - Methods - [Flyte SDK > Packages > flyte > AppHandle](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/apphandle/page.md) - Properties - Methods - activate() - deactivate() - ephemeral_ctx() - ephemeral_ctx_sync() - is_active() - is_deactivated() - [Flyte SDK > Packages > flyte > Cache](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/cache/page.md) - Methods - get_ignored_inputs() - get_version() - is_enabled() - [Flyte SDK > Packages > flyte > CachePolicy](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/cachepolicy/page.md) - Methods - get_version() - [Flyte SDK > Packages > flyte > Cron](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/cron/page.md) - Properties - [Flyte SDK > Packages > flyte > Device](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/device/page.md) - [Flyte SDK > Packages > flyte > Environment](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/environment/page.md) - Methods - add_dependency() - clone_with() - [Flyte SDK > Packages > flyte > FixedRate](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/fixedrate/page.md) - [Flyte SDK > Packages > flyte > Image](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/image/page.md) - Properties - Methods - clone() - from_base() - from_debian_base() - from_dockerfile() - from_ref_name() - from_uv_script() - validate() - with_apt_packages() - with_commands() - with_dockerignore() - with_env_vars() - with_local_v2() - with_pip_packages() - with_poetry_project() - with_requirements() - with_source_file() - with_source_folder() - with_uv_project() - with_workdir() - [Flyte SDK > Packages > flyte > ImageBuild](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/imagebuild/page.md) - [Flyte SDK > Packages > flyte > Link](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/link/page.md) - Methods - get_link() - [Flyte SDK > Packages > flyte > PodTemplate](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/podtemplate/page.md) - Methods - to_k8s_pod() - [Flyte SDK > Packages > flyte > Resources](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/resources/page.md) - Methods - get_device() - get_shared_memory() - [Flyte SDK > Packages > flyte > RetryStrategy](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/retrystrategy/page.md) - [Flyte SDK > Packages > flyte > ReusePolicy](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/reusepolicy/page.md) - Properties - Methods - get_scaledown_ttl() - [Flyte SDK > Packages > flyte > Secret](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/secret/page.md) - Methods - stable_hash() - [Flyte SDK > Packages > flyte > TaskEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/taskenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - from_task() - task() - [Flyte SDK > Packages > flyte > Timeout](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/timeout/page.md) - [Flyte SDK > Packages > flyte > Trigger](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte/trigger/page.md) - Methods - daily() - hourly() - minutely() - monthly() - weekly() - [Flyte SDK > Packages > flyte.app](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.app > AppEndpoint](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/appendpoint/page.md) - Properties - Methods - check_type() - construct() - copy() - dict() - from_orm() - get() - json() - materialize() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.app > AppEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/appenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - container_args() - container_cmd() - get_port() - on_shutdown() - on_startup() - server() - [Flyte SDK > Packages > flyte.app > ConnectorEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/connectorenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - container_args() - container_cmd() - get_port() - on_shutdown() - on_startup() - server() - [Flyte SDK > Packages > flyte.app > Domain](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/domain/page.md) - [Flyte SDK > Packages > flyte.app > Link](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/link/page.md) - [Flyte SDK > Packages > flyte.app > Parameter](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/parameter/page.md) - [Flyte SDK > Packages > flyte.app > Port](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/port/page.md) - [Flyte SDK > Packages > flyte.app > RunOutput](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/runoutput/page.md) - Properties - Methods - check_type() - construct() - copy() - dict() - from_orm() - get() - json() - materialize() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.app > Scaling](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app/scaling/page.md) - Methods - get_replicas() - [Flyte SDK > Packages > flyte.app.extras](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app.extras/page.md) - Directory - Classes - [Flyte SDK > Packages > flyte.app.extras > FastAPIAppEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app.extras/fastapiappenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - container_args() - container_cmd() - container_command() - get_port() - on_shutdown() - on_startup() - server() - [Flyte SDK > Packages > flyte.app.extras > FastAPIPassthroughAuthMiddleware](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.app.extras/fastapipassthroughauthmiddleware/page.md) - Methods - dispatch() - extract_authorization_header() - extract_cookie_header() - extract_custom_header() - [Flyte SDK > Packages > flyte.config](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.config/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.config > Config](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.config/config/page.md) - Methods - auto() - with_params() - [Flyte SDK > Packages > flyte.connectors](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/page.md) - Directory - Classes - [Flyte SDK > Packages > flyte.connectors > AsyncConnector](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/asyncconnector/page.md) - Methods - create() - delete() - get() - get_logs() - get_metrics() - [Flyte SDK > Packages > flyte.connectors > AsyncConnectorExecutorMixin](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/asyncconnectorexecutormixin/page.md) - Methods - execute() - [Flyte SDK > Packages > flyte.connectors > ConnectorRegistry](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/connectorregistry/page.md) - Methods - get_connector() - register() - [Flyte SDK > Packages > flyte.connectors > ConnectorService](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/connectorservice/page.md) - Methods - run() - [Flyte SDK > Packages > flyte.connectors > Resource](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/resource/page.md) - [Flyte SDK > Packages > flyte.connectors > ResourceMeta](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors/resourcemeta/page.md) - Methods - decode() - encode() - [Flyte SDK > Packages > flyte.connectors.utils](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.connectors.utils/page.md) - Directory - Methods - Methods - [Flyte SDK > Packages > flyte.durable](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.durable/page.md) - Directory - Methods - Methods - [Flyte SDK > Packages > flyte.errors](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/page.md) - Directory - Errors - Methods - Methods - [Flyte SDK > Packages > flyte.errors > ActionAbortedError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/actionabortederror/page.md) - [Flyte SDK > Packages > flyte.errors > ActionNotFoundError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/actionnotfounderror/page.md) - [Flyte SDK > Packages > flyte.errors > BaseRuntimeError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/baseruntimeerror/page.md) - [Flyte SDK > Packages > flyte.errors > CodeBundleError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/codebundleerror/page.md) - [Flyte SDK > Packages > flyte.errors > CustomError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/customerror/page.md) - Methods - from_exception() - [Flyte SDK > Packages > flyte.errors > DeploymentError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/deploymenterror/page.md) - [Flyte SDK > Packages > flyte.errors > ImageBuildError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/imagebuilderror/page.md) - [Flyte SDK > Packages > flyte.errors > ImagePullBackOffError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/imagepullbackofferror/page.md) - [Flyte SDK > Packages > flyte.errors > InitializationError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/initializationerror/page.md) - [Flyte SDK > Packages > flyte.errors > InlineIOMaxBytesBreached](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/inlineiomaxbytesbreached/page.md) - [Flyte SDK > Packages > flyte.errors > InvalidImageNameError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/invalidimagenameerror/page.md) - [Flyte SDK > Packages > flyte.errors > LogsNotYetAvailableError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/logsnotyetavailableerror/page.md) - [Flyte SDK > Packages > flyte.errors > ModuleLoadError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/moduleloaderror/page.md) - [Flyte SDK > Packages > flyte.errors > NotInTaskContextError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/notintaskcontexterror/page.md) - [Flyte SDK > Packages > flyte.errors > OnlyAsyncIOSupportedError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/onlyasynciosupportederror/page.md) - [Flyte SDK > Packages > flyte.errors > OOMError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/oomerror/page.md) - [Flyte SDK > Packages > flyte.errors > ParameterMaterializationError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/parametermaterializationerror/page.md) - [Flyte SDK > Packages > flyte.errors > PrimaryContainerNotFoundError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/primarycontainernotfounderror/page.md) - [Flyte SDK > Packages > flyte.errors > RemoteTaskNotFoundError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/remotetasknotfounderror/page.md) - [Flyte SDK > Packages > flyte.errors > RemoteTaskUsageError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/remotetaskusageerror/page.md) - [Flyte SDK > Packages > flyte.errors > RestrictedTypeError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/restrictedtypeerror/page.md) - [Flyte SDK > Packages > flyte.errors > RetriesExhaustedError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/retriesexhaustederror/page.md) - [Flyte SDK > Packages > flyte.errors > RuntimeDataValidationError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/runtimedatavalidationerror/page.md) - [Flyte SDK > Packages > flyte.errors > RuntimeSystemError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/runtimesystemerror/page.md) - [Flyte SDK > Packages > flyte.errors > RuntimeUnknownError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/runtimeunknownerror/page.md) - [Flyte SDK > Packages > flyte.errors > RuntimeUserError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/runtimeusererror/page.md) - [Flyte SDK > Packages > flyte.errors > SlowDownError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/slowdownerror/page.md) - [Flyte SDK > Packages > flyte.errors > TaskInterruptedError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/taskinterruptederror/page.md) - [Flyte SDK > Packages > flyte.errors > TaskTimeoutError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/tasktimeouterror/page.md) - [Flyte SDK > Packages > flyte.errors > TraceDoesNotAllowNestedTasksError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/tracedoesnotallownestedtaskserror/page.md) - [Flyte SDK > Packages > flyte.errors > UnionRpcError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.errors/unionrpcerror/page.md) - [Flyte SDK > Packages > flyte.extend](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/page.md) - Directory - Classes - Protocols - Methods - Variables - Methods - [Flyte SDK > Packages > flyte.extend > AsyncFunctionTaskTemplate](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/asyncfunctiontasktemplate/page.md) - Properties - Methods - aio() - config() - container_args() - custom_config() - data_loading_config() - execute() - forward() - override() - post() - pre() - sql() - [Flyte SDK > Packages > flyte.extend > ImageBuildEngine](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/imagebuildengine/page.md) - Methods - build() - [Flyte SDK > Packages > flyte.extend > ImageBuilder](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/imagebuilder/page.md) - Methods - build_image() - get_checkers() - [Flyte SDK > Packages > flyte.extend > ImageChecker](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/imagechecker/page.md) - Methods - image_exists() - [Flyte SDK > Packages > flyte.extend > TaskTemplate](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extend/tasktemplate/page.md) - Properties - Methods - aio() - config() - container_args() - custom_config() - data_loading_config() - execute() - forward() - override() - post() - pre() - sql() - [Flyte SDK > Packages > flyte.extras](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extras/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.extras > ContainerTask](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.extras/containertask/page.md) - Properties - Methods - aio() - config() - container_args() - custom_config() - data_loading_config() - execute() - forward() - override() - post() - pre() - sql() - [Flyte SDK > Packages > flyte.git](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.git/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.git > GitStatus](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.git/gitstatus/page.md) - Methods - build_url() - from_current_repo() - [Flyte SDK > Packages > flyte.io](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io/page.md) - IO data types - Directory - Classes - Variables - [Flyte SDK > Packages > flyte.io > DataFrame](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io/dataframe/page.md) - Properties - Methods - all() - all_sync() - column_names() - columns() - construct() - copy() - deserialize_dataframe() - dict() - from_df() - from_existing_remote() - from_local() - from_local_sync() - from_orm() - iter() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - open() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - schema_match() - serialize_dataframe() - set_literal() - update_forward_refs() - validate() - wrap_df() - [Flyte SDK > Packages > flyte.io > Dir](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io/dir/page.md) - Properties - Methods - construct() - copy() - dict() - download() - download_sync() - exists() - exists_sync() - from_existing_remote() - from_local() - from_local_sync() - from_orm() - get_file() - get_file_sync() - json() - list_files() - list_files_sync() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - pre_init() - schema() - schema_json() - schema_match() - update_forward_refs() - validate() - walk() - walk_sync() - [Flyte SDK > Packages > flyte.io > File](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io/file/page.md) - Properties - Methods - construct() - copy() - dict() - download() - download_sync() - exists() - exists_sync() - from_existing_remote() - from_local() - from_local_sync() - from_orm() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - new_remote() - open() - open_sync() - parse_file() - parse_obj() - parse_raw() - pre_init() - schema() - schema_json() - schema_match() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.io > HashFunction](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io/hashfunction/page.md) - Methods - from_fn() - reset() - result() - update() - [Flyte SDK > Packages > flyte.io.extend](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io.extend/page.md) - Directory - Classes - [Flyte SDK > Packages > flyte.io.extend > DataFrameDecoder](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io.extend/dataframedecoder/page.md) - Properties - Methods - decode() - [Flyte SDK > Packages > flyte.io.extend > DataFrameEncoder](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io.extend/dataframeencoder/page.md) - Properties - Methods - encode() - [Flyte SDK > Packages > flyte.io.extend > DataFrameTransformerEngine](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.io.extend/dataframetransformerengine/page.md) - Properties - Methods - assert_type() - encode() - from_binary_idl() - get_decoder() - get_encoder() - get_literal_type() - get_structured_dataset_type() - guess_python_type() - isinstance_generic() - iter_as() - open_as() - register() - register_for_protocol() - register_renderer() - schema_match() - to_html() - to_literal() - to_python_value() - [Flyte SDK > Packages > flyte.models](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/page.md) - Directory - Classes - Methods - Variables - Methods - [Flyte SDK > Packages > flyte.models > ActionID](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/actionid/page.md) - Methods - create_random() - new_sub_action() - new_sub_action_from() - unique_id_str() - [Flyte SDK > Packages > flyte.models > ActionPhase](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/actionphase/page.md) - [Flyte SDK > Packages > flyte.models > Checkpoints](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/checkpoints/page.md) - [Flyte SDK > Packages > flyte.models > CodeBundle](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/codebundle/page.md) - Methods - with_downloaded_path() - [Flyte SDK > Packages > flyte.models > GroupData](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/groupdata/page.md) - [Flyte SDK > Packages > flyte.models > NativeInterface](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/nativeinterface/page.md) - Methods - convert_to_kwargs() - from_callable() - from_types() - get_input_types() - has_outputs() - num_required_inputs() - required_inputs() - [Flyte SDK > Packages > flyte.models > PathRewrite](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/pathrewrite/page.md) - Methods - from_str() - [Flyte SDK > Packages > flyte.models > RawDataPath](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/rawdatapath/page.md) - Methods - from_local_folder() - get_random_remote_path() - [Flyte SDK > Packages > flyte.models > SerializationContext](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/serializationcontext/page.md) - Methods - get_entrypoint_path() - [Flyte SDK > Packages > flyte.models > TaskContext](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.models/taskcontext/page.md) - Methods - is_in_cluster() - replace() - [Flyte SDK > Packages > flyte.prefetch](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.prefetch/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.prefetch > HuggingFaceModelInfo](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.prefetch/huggingfacemodelinfo/page.md) - Properties - Methods - construct() - copy() - dict() - from_orm() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.prefetch > ShardConfig](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.prefetch/shardconfig/page.md) - Properties - Methods - construct() - copy() - dict() - from_orm() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.prefetch > StoredModelInfo](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.prefetch/storedmodelinfo/page.md) - Properties - Methods - construct() - copy() - dict() - from_orm() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.prefetch > VLLMShardArgs](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.prefetch/vllmshardargs/page.md) - Properties - Methods - construct() - copy() - dict() - from_orm() - get_vllm_args() - json() - model_construct() - model_copy() - model_dump() - model_dump_json() - model_json_schema() - model_parametrized_name() - model_post_init() - model_rebuild() - model_validate() - model_validate_json() - model_validate_strings() - parse_file() - parse_obj() - parse_raw() - schema() - schema_json() - update_forward_refs() - validate() - [Flyte SDK > Packages > flyte.remote](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.remote > Action](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/action/page.md) - Properties - Methods - abort() - details() - done() - get() - listall() - show_logs() - sync() - to_dict() - to_json() - wait() - watch() - [Flyte SDK > Packages > flyte.remote > ActionDetails](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/actiondetails/page.md) - Properties - Methods - done() - get() - get_details() - inputs() - logs_available() - outputs() - to_dict() - to_json() - watch() - watch_updates() - [Flyte SDK > Packages > flyte.remote > ActionInputs](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/actioninputs/page.md) - Methods - clear() - copy() - fromkeys() - get() - items() - keys() - pop() - popitem() - setdefault() - to_dict() - to_json() - update() - values() - [Flyte SDK > Packages > flyte.remote > ActionOutputs](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/actionoutputs/page.md) - Properties - Methods - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > App](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/app/page.md) - Properties - Methods - activate() - create() - deactivate() - delete() - ephemeral_ctx() - ephemeral_ctx_sync() - get() - is_active() - is_deactivated() - listall() - replace() - to_dict() - to_json() - update() - watch() - [Flyte SDK > Packages > flyte.remote > Project](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/project/page.md) - Methods - get() - listall() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > Run](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/run/page.md) - Properties - Methods - abort() - details() - done() - get() - inputs() - listall() - outputs() - show_logs() - sync() - to_dict() - to_json() - wait() - watch() - [Flyte SDK > Packages > flyte.remote > RunDetails](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/rundetails/page.md) - Properties - Methods - done() - get() - get_details() - inputs() - outputs() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > Secret](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/secret/page.md) - Properties - Methods - create() - delete() - get() - listall() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > Task](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/task/page.md) - Properties - Methods - get() - listall() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > TaskDetails](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/taskdetails/page.md) - Properties - Methods - fetch() - get() - override() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.remote > Trigger](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/trigger/page.md) - Properties - Methods - create() - delete() - get() - get_details() - listall() - to_dict() - to_json() - update() - [Flyte SDK > Packages > flyte.remote > User](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.remote/user/page.md) - Methods - get() - name() - subject() - to_dict() - to_json() - [Flyte SDK > Packages > flyte.report](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.report/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.report > Report](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.report/report/page.md) - Methods - get_final_report() - get_tab() - [Flyte SDK > Packages > flyte.storage](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.storage/page.md) - Directory - Classes - Methods - Methods - [Flyte SDK > Packages > flyte.storage > ABFS](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.storage/abfs/page.md) - Methods - auto() - get_fsspec_kwargs() - [Flyte SDK > Packages > flyte.storage > GCS](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.storage/gcs/page.md) - Methods - auto() - get_fsspec_kwargs() - [Flyte SDK > Packages > flyte.storage > S3](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.storage/s3/page.md) - Methods - auto() - for_sandbox() - get_fsspec_kwargs() - [Flyte SDK > Packages > flyte.storage > Storage](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.storage/storage/page.md) - Methods - auto() - get_fsspec_kwargs() - [Flyte SDK > Packages > flyte.syncify](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.syncify/page.md) - Creating a Syncify Instance - How does it work? - Directory - Classes - [Flyte SDK > Packages > flyte.syncify > Syncify](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.syncify/syncify/page.md) - [Flyte SDK > Packages > flyte.types](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/page.md) - Directory - Classes - Protocols - Errors - Methods - Methods - [Flyte SDK > Packages > flyte.types > FlytePickle](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/flytepickle/page.md) - Methods - from_pickle() - python_type() - to_pickle() - [Flyte SDK > Packages > flyte.types > Renderable](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/renderable/page.md) - Methods - to_html() - [Flyte SDK > Packages > flyte.types > TypeEngine](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/typeengine/page.md) - Methods - dict_to_literal_map() - get_available_transformers() - get_transformer() - guess_python_type() - guess_python_types() - lazy_import_transformers() - literal_map_to_kwargs() - named_tuple_to_variable_map() - register() - register_additional_type() - register_restricted_type() - to_html() - to_literal() - to_literal_checks() - to_literal_type() - to_python_value() - unwrap_offloaded_literal() - [Flyte SDK > Packages > flyte.types > TypeTransformer](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/typetransformer/page.md) - Properties - Methods - assert_type() - from_binary_idl() - get_literal_type() - guess_python_type() - isinstance_generic() - schema_match() - to_html() - to_literal() - to_python_value() - [Flyte SDK > Packages > flyte.types > TypeTransformerFailedError](https://www.union.ai/docs/v2/byoc/api-reference/flyte-sdk/packages/flyte.types/typetransformerfailederror/page.md) - [Integrations](https://www.union.ai/docs/v2/byoc/api-reference/integrations/page.md) - [Integrations > Dask](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/page.md) - [Integrations > Dask > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/classes/page.md) - [Integrations > Dask > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/packages/page.md) - [Integrations > Dask > Packages > flyteplugins.dask](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/packages/flyteplugins.dask/page.md) - Directory - Classes - [Integrations > Dask > Packages > flyteplugins.dask > Dask](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/packages/flyteplugins.dask/dask/page.md) - [Integrations > Dask > Packages > flyteplugins.dask > Scheduler](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/packages/flyteplugins.dask/scheduler/page.md) - [Integrations > Dask > Packages > flyteplugins.dask > WorkerGroup](https://www.union.ai/docs/v2/byoc/api-reference/integrations/dask/packages/flyteplugins.dask/workergroup/page.md) - [Integrations > OpenAI](https://www.union.ai/docs/v2/byoc/api-reference/integrations/openai/page.md) - [Integrations > Polars](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/page.md) - [Integrations > Polars > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/classes/page.md) - [Integrations > Polars > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/page.md) - [Integrations > Polars > Packages > flyteplugins.polars.df_transformer](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/flyteplugins.polars.df_transformer/page.md) - Directory - Classes - Methods - Variables - Methods - [Integrations > Polars > Packages > flyteplugins.polars.df_transformer > ParquetToPolarsDecodingHandler](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/flyteplugins.polars.df_transformer/parquettopolarsdecodinghandler/page.md) - Properties - Methods - decode() - [Integrations > Polars > Packages > flyteplugins.polars.df_transformer > ParquetToPolarsLazyFrameDecodingHandler](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/flyteplugins.polars.df_transformer/parquettopolarslazyframedecodinghandler/page.md) - Properties - Methods - decode() - [Integrations > Polars > Packages > flyteplugins.polars.df_transformer > PolarsLazyFrameToParquetEncodingHandler](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/flyteplugins.polars.df_transformer/polarslazyframetoparquetencodinghandler/page.md) - Properties - Methods - encode() - [Integrations > Polars > Packages > flyteplugins.polars.df_transformer > PolarsToParquetEncodingHandler](https://www.union.ai/docs/v2/byoc/api-reference/integrations/polars/packages/flyteplugins.polars.df_transformer/polarstoparquetencodinghandler/page.md) - Properties - Methods - encode() - [Integrations > PyTorch](https://www.union.ai/docs/v2/byoc/api-reference/integrations/pytorch/page.md) - [Integrations > PyTorch > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/pytorch/classes/page.md) - [Integrations > PyTorch > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/pytorch/packages/page.md) - [Integrations > PyTorch > Packages > flyteplugins.pytorch](https://www.union.ai/docs/v2/byoc/api-reference/integrations/pytorch/packages/flyteplugins.pytorch/page.md) - Directory - Classes - [Integrations > PyTorch > Packages > flyteplugins.pytorch > Elastic](https://www.union.ai/docs/v2/byoc/api-reference/integrations/pytorch/packages/flyteplugins.pytorch/elastic/page.md) - [Integrations > Ray](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/page.md) - [Integrations > Ray > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/classes/page.md) - [Integrations > Ray > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/packages/page.md) - [Integrations > Ray > Packages > flyteplugins.ray](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/packages/flyteplugins.ray/page.md) - Directory - Classes - [Integrations > Ray > Packages > flyteplugins.ray > HeadNodeConfig](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/packages/flyteplugins.ray/headnodeconfig/page.md) - [Integrations > Ray > Packages > flyteplugins.ray > RayJobConfig](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/packages/flyteplugins.ray/rayjobconfig/page.md) - [Integrations > Ray > Packages > flyteplugins.ray > WorkerNodeConfig](https://www.union.ai/docs/v2/byoc/api-reference/integrations/ray/packages/flyteplugins.ray/workernodeconfig/page.md) - [Integrations > SGLang](https://www.union.ai/docs/v2/byoc/api-reference/integrations/sglang/page.md) - [Integrations > SGLang > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/sglang/classes/page.md) - [Integrations > SGLang > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/sglang/packages/page.md) - [Integrations > SGLang > Packages > flyteplugins.sglang](https://www.union.ai/docs/v2/byoc/api-reference/integrations/sglang/packages/flyteplugins.sglang/page.md) - Directory - Classes - Variables - [Integrations > SGLang > Packages > flyteplugins.sglang > SGLangAppEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/integrations/sglang/packages/flyteplugins.sglang/sglangappenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - container_args() - container_cmd() - get_port() - on_shutdown() - on_startup() - server() - [Integrations > Snowflake](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/page.md) - [Integrations > Snowflake > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/classes/page.md) - [Integrations > Snowflake > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/packages/page.md) - [Integrations > Snowflake > Packages > flyteplugins.snowflake](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/packages/flyteplugins.snowflake/page.md) - Directory - Classes - [Integrations > Snowflake > Packages > flyteplugins.snowflake > Snowflake](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/packages/flyteplugins.snowflake/snowflake/page.md) - Properties - Methods - aio() - config() - container_args() - custom_config() - data_loading_config() - execute() - forward() - override() - post() - pre() - sql() - [Integrations > Snowflake > Packages > flyteplugins.snowflake > SnowflakeConfig](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/packages/flyteplugins.snowflake/snowflakeconfig/page.md) - [Integrations > Snowflake > Packages > flyteplugins.snowflake > SnowflakeConnector](https://www.union.ai/docs/v2/byoc/api-reference/integrations/snowflake/packages/flyteplugins.snowflake/snowflakeconnector/page.md) - Methods - create() - delete() - get() - get_logs() - get_metrics() - [Integrations > Spark](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/page.md) - [Integrations > Spark > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/classes/page.md) - [Integrations > Spark > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/packages/page.md) - [Integrations > Spark > Packages > flyteplugins.spark](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/packages/flyteplugins.spark/page.md) - Directory - Classes - [Integrations > Spark > Packages > flyteplugins.spark > ParquetToSparkDecoder](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/packages/flyteplugins.spark/parquettosparkdecoder/page.md) - Properties - Methods - decode() - [Integrations > Spark > Packages > flyteplugins.spark > Spark](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/packages/flyteplugins.spark/spark/page.md) - [Integrations > Spark > Packages > flyteplugins.spark > SparkToParquetEncoder](https://www.union.ai/docs/v2/byoc/api-reference/integrations/spark/packages/flyteplugins.spark/sparktoparquetencoder/page.md) - Properties - Methods - encode() - [Integrations > Union](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/page.md) - [Integrations > Union > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/classes/page.md) - [Integrations > Union > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/page.md) - [Integrations > Union > Packages > flyteplugins.union.internal.validate.validate.validate_pb2](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.internal.validate.validate.validate_pb2/page.md) - Directory - Variables - [Integrations > Union > Packages > flyteplugins.union.internal.validate.validate.validate_pb2_grpc](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.internal.validate.validate.validate_pb2_grpc/page.md) - Directory - Variables - [Integrations > Union > Packages > flyteplugins.union.remote](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.remote/page.md) - Directory - Classes - [Integrations > Union > Packages > flyteplugins.union.remote > ApiKey](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.remote/apikey/page.md) - Properties - Methods - create() - delete() - get() - listall() - to_dict() - to_json() - update() - [Integrations > Union > Packages > flyteplugins.union.utils.auth](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.utils.auth/page.md) - Directory - Classes - Methods - Methods - [Integrations > Union > Packages > flyteplugins.union.utils.auth > AppClientCredentials](https://www.union.ai/docs/v2/byoc/api-reference/integrations/union/packages/flyteplugins.union.utils.auth/appclientcredentials/page.md) - [Integrations > vLLM](https://www.union.ai/docs/v2/byoc/api-reference/integrations/vllm/page.md) - [Integrations > vLLM > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/vllm/classes/page.md) - [Integrations > vLLM > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/vllm/packages/page.md) - [Integrations > vLLM > Packages > flyteplugins.vllm](https://www.union.ai/docs/v2/byoc/api-reference/integrations/vllm/packages/flyteplugins.vllm/page.md) - Directory - Classes - Variables - [Integrations > vLLM > Packages > flyteplugins.vllm > VLLMAppEnvironment](https://www.union.ai/docs/v2/byoc/api-reference/integrations/vllm/packages/flyteplugins.vllm/vllmappenvironment/page.md) - Properties - Methods - add_dependency() - clone_with() - container_args() - container_cmd() - get_port() - on_shutdown() - on_startup() - server() - [Integrations > Weights & Biases](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/page.md) - [Integrations > Weights & Biases > Classes](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/classes/page.md) - [Integrations > Weights & Biases > Packages](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/packages/page.md) - [Integrations > Weights & Biases > Packages > flyteplugins.wandb](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/packages/flyteplugins.wandb/page.md) - Key features: - Basic usage: - Directory - Classes - Methods - Methods - [Integrations > Weights & Biases > Packages > flyteplugins.wandb > Wandb](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/packages/flyteplugins.wandb/wandb/page.md) - Methods - get_link() - [Integrations > Weights & Biases > Packages > flyteplugins.wandb > WandbSweep](https://www.union.ai/docs/v2/byoc/api-reference/integrations/wandb/packages/flyteplugins.wandb/wandbsweep/page.md) - Methods - get_link() - [Uctl CLI](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/page.md) - Installation - macOS - Linux - Windows - Configuration - Configuration file location hierarchy - Options - Commands - Entities - [Uctl CLI > uctl](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl/page.md) - Synopsis - Options - [Uctl CLI > uctl version](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-version/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl append](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-append/page.md) - Options - Options inherited from parent commands - [Uctl CLI > uctl append > uctl append identityassignments](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-append/uctl-append-identityassignments/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl apply](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-apply/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl apply > uctl apply app](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-apply/uctl-apply-app/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl apply > uctl apply clusterconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-apply/uctl-apply-clusterconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl apply > uctl apply clusterconfigid](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-apply/uctl-apply-clusterconfigid/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl apply > uctl apply clusterpoolconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-apply/uctl-apply-clusterpoolconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl config](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-config/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl config > uctl config discover](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-config/uctl-config-discover/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl config > uctl config docs](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-config/uctl-config-docs/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl config > uctl config init](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-config/uctl-config-init/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl config > uctl config validate](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-config/uctl-config-validate/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create app](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-app/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create clusterpool](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-clusterpool/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create clusterpoolassignment](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-clusterpoolassignment/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create execution](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-execution/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create policy](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-policy/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create project](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-project/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl create > uctl create role](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-create/uctl-create-role/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete app](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-app/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete cluster](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-cluster/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete cluster-pool-attributes](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-cluster-pool-attributes/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete cluster-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-cluster-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete clusterconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-clusterconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete clusterpool](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-clusterpool/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete clusterpoolassignment](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-clusterpoolassignment/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete execution](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-execution/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete execution-cluster-label](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-execution-cluster-label/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete execution-queue-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-execution-queue-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete identityassignments](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-identityassignments/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete plugin-override](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-plugin-override/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete policy](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-policy/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete role](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-role/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete task-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-task-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl delete > uctl delete workflow-execution-config](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-delete/uctl-delete-workflow-execution-config/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo > uctl demo exec](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/uctl-demo-exec/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo > uctl demo reload](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/uctl-demo-reload/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo > uctl demo start](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/uctl-demo-start/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo > uctl demo status](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/uctl-demo-status/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl demo > uctl demo teardown](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-demo/uctl-demo-teardown/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get app](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-app/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get cluster](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-cluster/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get cluster-pool-attributes](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-cluster-pool-attributes/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get cluster-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-cluster-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get clusterconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-clusterconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get clusterconfigs](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-clusterconfigs/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get clusterpool](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-clusterpool/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get clusterpoolconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-clusterpoolconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get clusterswithconfig](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-clusterswithconfig/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get echo](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-echo/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get execution](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-execution/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get execution-cluster-label](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-execution-cluster-label/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get execution-queue-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-execution-queue-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get executionoperation](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-executionoperation/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get identityassignment](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-identityassignment/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get launchplan](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-launchplan/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get plugin-override](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-plugin-override/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get policy](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-policy/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get project](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-project/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get role](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-role/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get task](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-task/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get task-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-task-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get workflow](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-workflow/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl get > uctl get workflow-execution-config](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-get/uctl-get-workflow-execution-config/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl register](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-register/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl register > uctl register examples](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-register/uctl-register-examples/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl register > uctl register files](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-register/uctl-register-files/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update cluster-pool-attributes](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-cluster-pool-attributes/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update cluster-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-cluster-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update execution](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-execution/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update execution-cluster-label](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-execution-cluster-label/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update execution-queue-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-execution-queue-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update launchplan](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-launchplan/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update launchplan-meta](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-launchplan-meta/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update plugin-override](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-plugin-override/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update project](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-project/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update task-meta](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-task-meta/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update task-resource-attribute](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-task-resource-attribute/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update workflow-execution-config](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-workflow-execution-config/page.md) - Synopsis - Options - Options inherited from parent commands - [Uctl CLI > uctl update > uctl update workflow-meta](https://www.union.ai/docs/v2/byoc/api-reference/uctl-cli/uctl-update/uctl-update-workflow-meta/page.md) - Synopsis - Options - Options inherited from parent commands --- ## Community - [Contributing docs and examples](https://www.union.ai/docs/v2/byoc/community/contributing-docs/page.md) - The combined Flyte and Union docs site - Versions - Variants - Both Flyte and Union docs are open source - [Contributing docs and examples > Quick start](https://www.union.ai/docs/v2/byoc/community/contributing-docs/quick-start/page.md) - Prerequisites - Clone the repository - Live preview - Distribution build - [Contributing docs and examples > Variants](https://www.union.ai/docs/v2/byoc/community/contributing-docs/variants/page.md) - Variants at the whole-page level - Conditional rendering within a page - {{}} - {{}} - Full example - Adding a new variant - Location - Creating a new variant - Testing the new variant - Building (just) the variant - [Contributing docs and examples > Versions](https://www.union.ai/docs/v2/byoc/community/contributing-docs/versions/page.md) - Versions are branches - How to create an archive version - How to create an archive version - Publishing an archive version - [Contributing docs and examples > Authoring](https://www.union.ai/docs/v2/byoc/community/contributing-docs/authoring/page.md) - Getting started - Target the right branch - Live preview - Pull Requests + Site Preview - Page Visibility - Page order - Page settings - Conditional Content - Warnings and Notices - Special Content Generation - Python Generated Content - Run on Union Instructions - Jupyter Notebooks - Mapped Keys (`{{}}`) - Mermaid Graphs - [Contributing docs and examples > Shortcodes](https://www.union.ai/docs/v2/byoc/community/contributing-docs/shortcodes/page.md) - How to specify a "shortcode" - Variants - Component Library - `{{}}` - `{{}}` - `{{}}` - `{{}}` - `{{}}` - `{{}}` - `{{}}` and `{{}}` - `{{}}` - `{{}}` - `{{}}` - `{{}}`, `{{}}`, and `{{}}` - `{{}}` - `{{}}` - [Contributing docs and examples > Redirects](https://www.union.ai/docs/v2/byoc/community/contributing-docs/redirects/page.md) - `docs.union.ai` redirects - `docs.flyte.org` redirects - [Contributing docs and examples > API docs](https://www.union.ai/docs/v2/byoc/community/contributing-docs/api-docs/page.md) - API naming convention - Package Resource Resolution - Tips and Tricks - Enabling auto-linking for plugins - 1. Server-side code block linking - 2. Client-side inline code linking - How auto-linking works - [Contributing docs and examples > LLM-optimized documentation](https://www.union.ai/docs/v2/byoc/community/contributing-docs/llm-docs/page.md) - Output files - Discovery hierarchy - How `page.md` files are generated - Enabling section bundles - The `llms-full.txt` link conversion - Regenerating - [Contributing docs and examples > Publishing](https://www.union.ai/docs/v2/byoc/community/contributing-docs/publishing/page.md) - Requirements - Managing the Tutorial Pages - Building and running locally - Building Production - Testing Production Build - Developer Experience - Controlling Development Environment - Changing 'variants' - Troubleshootting - Identifying Problems: Missing Content - Identifying Problems: Page Visibility - Building Production - Testing Production Build --- ## Release notes - [Release notes](https://www.union.ai/docs/v2/byoc/release-notes/page.md) - November 2025 - :fast_forward: Grouped Runs - :globe_with_meridians: Apps (beta) - :label: Custom context - :lock: Secrets UI - Image builds now run in the same project-domain - Support for secret mounts in Poetry and UV projects - October 2025 - :infinity: Larger fanouts - :computer: Remote debugging for Ray head nodes - :zap: Triggers and audit history - :arrow_up: Deployed tasks and input passing --- ## Platform deployment - [Platform architecture](https://www.union.ai/docs/v2/byoc/deployment/platform-architecture/page.md) - Control plane - Data plane - Data plane nodes - Union.ai operator - Registry data - Execution data - Raw data - Literal data - Data privacy - [Managing Union with Terraform](https://www.union.ai/docs/v2/byoc/deployment/terraform/page.md) - Overview - Why use Terraform? - Getting Started - [Installation](installation/page.md) - [Resource Management](management/page.md) - [Security Best Practices](security/page.md) - Requirements - [Managing Union with Terraform > Installing the Union Terraform Provider](https://www.union.ai/docs/v2/byoc/deployment/terraform/installation/page.md) - Quick Start - Versioning - [Managing Union with Terraform > Managing Union Resources with Terraform](https://www.union.ai/docs/v2/byoc/deployment/terraform/management/page.md) - Provider Configuration - Basic Configuration - Configuration Parameters - Authentication - 1. Provider Configuration - 2. Environment Variable - Generating an API Key - Available Resources - Projects - Users - Roles - Policies - API Keys - OAuth Applications - Access Assignments - Available Data Sources - Projects - Users - Roles - Policies - API Keys - Applications - Data Plane Information - Control Plane Information - Data Plane Listings - Best Practices - Use Variables for Sensitive Data - Organize Resources with Modules - Use Organization Restrictions - Version Control Your Configuration - Use Remote State - Example: Complete Setup - Additional Resources - Requirements - Support and Contributions - [Managing Union with Terraform > Security Best Practices](https://www.union.ai/docs/v2/byoc/deployment/terraform/security/page.md) - Recommended Approaches - 1. Use Cloud Secret Managers - 2. Use HashiCorp Vault - 3. Use Environment Variables - 4. Use Terraform Variables with `.tfvars` Files - Additional Security Measures - Encrypt Terraform State - Use State Locking - Rotate API Keys Regularly - Restrict Provider Permissions - Use Separate API Keys per Environment - Security Checklist - CI/CD Pipeline Security - GitHub Actions - GitLab CI - Best Practices for CI/CD - Additional Resources - [Configuring your data plane](https://www.union.ai/docs/v2/byoc/deployment/configuring-your-data-plane/page.md) - Cloud provider - Multi-cluster - Account ID - Region - VPC - Data retention policy - Worker node groups - Node group name - Node type - Minimum - Maximum - Interruptible instances - Taints - Disk - Resources held back - Example specification - After deployment - Adjusting your configuration - [Multi-cluster and multi-cloud](https://www.union.ai/docs/v2/byoc/deployment/multi-cluster/page.md) - Domain isolation - Project isolation - Data and metadata isolation - [Data plane setup on AWS](https://www.union.ai/docs/v2/byoc/deployment/data-plane-setup-on-aws/page.md) - Setting permissions through CloudFormation - Click the Launch Stack button - Confirm the details - Share the role ARN - Updating permissions through CloudFormation - Update your CloudFormation template - Setting permissions manually - Prepare the policy documents - Create the role manually - Share the role ARN - Updating permissions manually - Setting up and managing your own VPC (optional) - Private EKS endpoint - Create additional roles for ECS - Attach a new IAM policy to the Union role - Configure VPC Endpoints - [Data plane setup on GCP](https://www.union.ai/docs/v2/byoc/deployment/data-plane-setup-on-gcp/page.md) - Select or create a project - Ensure billing is linked - Create a workload identity pool and provider - In the GCP web console - On the command line using `gcloud` - Create a role for Union.ai admin - Create the Union.ai admin service account - In the GCP web console - On the command line using `gcloud` - Grant access for the Workflow Identity Pool to the Service Account - In the GCP web console - On the command line using `gcloud` - Enable services API - In the GCP web console - On the command line using `gcloud` - Setting up and managing your own VPC (optional) - Example VPC CIDR Block allocation - [Data plane setup on Azure](https://www.union.ai/docs/v2/byoc/deployment/data-plane-setup-on-azure/page.md) - Selecting Azure tenant and subscription - Create a Microsoft Entra Application Registration - Create a Microsoft Entra ID Application for Union.ai Access - Create Microsoft Entra ID Applications for Union.ai cost allocation - (Recommended) Create a Microsoft Entra group for cluster administration - (Optional) Setting up and managing your own VNet - Required Union.ai VNet permissions - Required VNet properties - Example VPC CIDR Block allocation - Union.ai Maintenance Windows - [Data retention policy](https://www.union.ai/docs/v2/byoc/deployment/data-retention-policy/page.md) - Data categories - How policies are specified - Deletion of current versions - Deletion of non-current versions - Defaults - Attempting to access deleted data - Separate sets of policies per cluster - Data retention and task caching - [Enabling AWS resources](https://www.union.ai/docs/v2/byoc/deployment/enabling-aws-resources/page.md) - Types of access - Infrastructure-level access - Task code access - Background - Enabling access - Creating a custom policy - Setting up global access - Setting up project-domain-scoped access - Create the IAM role - Configure the cluster to use the new IAM role - [Enabling AWS resources > Enabling AWS S3](https://www.union.ai/docs/v2/byoc/deployment/enabling-aws-resources/enabling-aws-s3/page.md) - Add permissions to your custom policy - Accessing S3 from your task code - [Enabling AWS resources > Enabling AWS ECR](https://www.union.ai/docs/v2/byoc/deployment/enabling-aws-resources/enabling-aws-ecr/page.md) - Access to ECR in the same account is enabled by default - Enabling cross-account access to ECR - [Enabling AWS resources > Enabling AWS Secrets Manager](https://www.union.ai/docs/v2/byoc/deployment/enabling-aws-resources/enabling-aws-secrets-manager/page.md) - Ensure that AWS Secrets Manager is enabled - Create your secrets - Get the secret ARN - Create a policy providing access to your secrets - Bind the policy to the User Flyte Role - Using AWS secrets in your task code - [Enabling GCP resources](https://www.union.ai/docs/v2/byoc/deployment/enabling-gcp-resources/page.md) - Types of access - Infrastructure-level access - Task code access - Domain-scoped access - Globally-scoped access - Find the actual name of `` - [Enabling GCP resources > Enabling Google Cloud Storage](https://www.union.ai/docs/v2/byoc/deployment/enabling-gcp-resources/enabling-google-cloud-storage/page.md) - Grant `` access to the bucket - [Enabling GCP resources > Enabling Google Artifact Registry](https://www.union.ai/docs/v2/byoc/deployment/enabling-gcp-resources/enabling-google-artifact-registry/page.md) - Access to Artifact Registry in the same project is enabled by default - Enabling cross-project access to Artifact Registry - [Enabling GCP resources > Enabling Google Secret Manager](https://www.union.ai/docs/v2/byoc/deployment/enabling-gcp-resources/enabling-google-secret-manager/page.md) - Create your secrets - Same-project secrets - Cross-project secrets - [Enabling GCP resources > Enabling BigQuery](https://www.union.ai/docs/v2/byoc/deployment/enabling-gcp-resources/enabling-bigquery/page.md) - [Enabling Azure resources](https://www.union.ai/docs/v2/byoc/deployment/enabling-azure-resources/page.md) - Types of access - Infrastructure-level access - Task code access - Domain-scoped access - Globally-scoped access - [Enabling Azure resources > Enabling Azure Blob Storage](https://www.union.ai/docs/v2/byoc/deployment/enabling-azure-resources/enabling-azure-blob-storage/page.md) - Providing permissions to Azure Blob Storage container - Union.ai-managed permissions - Manage permissions directly - [Enabling Azure resources > Enabling Azure Container Registry (ACR)](https://www.union.ai/docs/v2/byoc/deployment/enabling-azure-resources/enabling-azure-container-registry/page.md) - Creating a container registry - Creating a container registry outside of Union.ai - Creating a Union.ai-managed container registry - Enable access to ACR in a different subscription within the same Azure tenant - Allow Union.ai to manage permissions - Manage permissions directly - Enable access to ACR in a different Azure tenant - References - [Enabling Azure resources > Enabling Azure Key Vault](https://www.union.ai/docs/v2/byoc/deployment/enabling-azure-resources/enabling-azure-key-vault/page.md) - Providing permissions to Azure Key Vault - Accessing the secret within Union.ai - [Single sign on setup](https://www.union.ai/docs/v2/byoc/deployment/single-sign-on-setup/page.md) - Google OpenID Connect - Microsoft Entra ID (formerly Azure AD) - Other identity providers - [Single sign on setup > Google OpenID Connect](https://www.union.ai/docs/v2/byoc/deployment/single-sign-on-setup/google-oidc/page.md) - Setting up OAuth 2.0 - Obtain OAuth 2.0 credentials - Share the client ID and client secret securely with Union.ai - [Single sign on setup > Microsoft Entra ID (formerly Azure AD)](https://www.union.ai/docs/v2/byoc/deployment/single-sign-on-setup/microsoft-entra-id/page.md) - Register an Entra ID application - Copy the values needed by the Union.ai team - Application (client) ID and directory (tenant) ID - Client secret - Share the client secret securely with Union.ai - Share the IDs with Union.ai - [Single sign on setup > Other identity providers](https://www.union.ai/docs/v2/byoc/deployment/single-sign-on-setup/other-identity-providers/page.md) - Share the client secret securely with the Union.ai team - Share the application (client) ID with Union.ai