Skip to main content

AppFrameworkEnum

The AppFrameworkEnum is used to categorize the framework type for an application version when using framework support.

class AppFrameworkEnum(enum.Enum):
NoFramework = None
Generic = "generic"
Panel = "panel"
PlotlyDash = "plotly-dash"
React = "react"
Streamlit = "streamlit"

# Initialize version
version = AppVersion(
app_id="my-app-id",
version="1.0.0",
title="My Application Title",
description="This Is An Example Edge Application",
icon=ICON,
kind=AppKindEnum.Native,
framework=AppFrameworkEnum.React,
link="quay.io/enthought/YOUR_IMAGE_NAME_HERE:TAG",
recommended_profile="edge.medium"
)

# Create version
edge.applications.add_app_version(version)

Values

AppFrameworkEnum.NoFramework

The application's version does not use framework support.

AppFrameworkEnum.Generic

The application's version uses generic framework support.

AppFrameworkEnum.Panel

The application's version uses framework support for Panel.

AppFrameworkEnum.PlotlyDash

The application's version uses framework support for Plotly-Dash.

AppFrameworkEnum.React

The application's version uses framework support for React.

AppFrameworkEnum.Streamlit

The application's version uses framework support for Streamlit.