From 67717570f5b03d50c3789045aaa4f17d2bf658a4 Mon Sep 17 00:00:00 2001 From: nsxshota Date: Thu, 30 Nov 2023 16:57:00 +0900 Subject: [PATCH] =?UTF-8?q?=5F=5Fmain=5F=5F=E3=82=92v0.5.6=E3=81=AE?= =?UTF-8?q?=E3=82=82=E3=81=AE=E3=81=A8=E4=B8=80=E7=B7=92=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/__main__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/backend/langflow/__main__.py b/src/backend/langflow/__main__.py index 87052677e..1bdcf97f2 100644 --- a/src/backend/langflow/__main__.py +++ b/src/backend/langflow/__main__.py @@ -1,7 +1,6 @@ import platform import socket import sys -import os import time import webbrowser from pathlib import Path @@ -127,10 +126,10 @@ def run( default=None, ), dev: bool = typer.Option(False, help="Run in development mode (may contain bugs)"), - # # This variable does not work but is set by the .env file - # # and works with Pydantic + # This variable does not work but is set by the .env file + # and works with Pydantic # database_url: str = typer.Option( - # "mysql+pymysql://{}:{}@{}:3306/{}".format(os.environ["username"],os.environ["password"],os.environ["host"],os.environ["dbname"]), + # None, # help="Database URL to connect to. If not provided, a local SQLite database will be used.", # envvar="LANGFLOW_DATABASE_URL", # ),