__main__をv0.5.6のものと一緒に
This commit is contained in:
parent
740d7f5b51
commit
e08dbd5712
1 changed files with 3 additions and 4 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
import platform
|
import platform
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
import os
|
|
||||||
import time
|
import time
|
||||||
import webbrowser
|
import webbrowser
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
@ -127,10 +126,10 @@ def run(
|
||||||
default=None,
|
default=None,
|
||||||
),
|
),
|
||||||
dev: bool = typer.Option(False, help="Run in development mode (may contain bugs)"),
|
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
|
# This variable does not work but is set by the .env file
|
||||||
# # and works with Pydantic
|
# and works with Pydantic
|
||||||
# database_url: str = typer.Option(
|
# 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.",
|
# help="Database URL to connect to. If not provided, a local SQLite database will be used.",
|
||||||
# envvar="LANGFLOW_DATABASE_URL",
|
# envvar="LANGFLOW_DATABASE_URL",
|
||||||
# ),
|
# ),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue