reflex/pynecone/config.py
Nikhil Rao 30b482666c
Add frontend packages to pcconfig (#91)
* Fix pc init print

* Specify frontend packages to pcconfig
2022-12-13 21:32:24 -08:00

38 lines
757 B
Python

"""The Pynecone config."""
from typing import List, Optional
from pynecone import constants
from pynecone.base import Base
class Config(Base):
"""A Pynecone config."""
# The name of the app.
app_name: str
# The username.
username: Optional[str] = None
# The backend API url.
api_url: str = constants.API_URL
# The database url.
db_url: str = constants.DB_URL
# The redis url.
redis_url: Optional[str] = None
# The deploy url.
deploy_url: Optional[str] = None
# The environment mode.
env: constants.Env = constants.Env.DEV
# The path to the bun executable.
bun_path: str = constants.BUN_PATH
# Additional frontend packages to install.
frontend_packages: List[str] = []