-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: the database url is missing ":\\" when sqlite or postgresql is not used #5492
Conversation
CodSpeed Performance ReportMerging #5492 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @qq745639151
Good catch. Please take a look at my comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ot used (langflow-ai#5492) * 【bugfix】 the database url is missing ":\\" * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [fix] improve the code to make it easier to understand --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…ot used (langflow-ai#5492) * 【bugfix】 the database url is missing ":\\" * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [fix] improve the code to make it easier to understand --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
If I set the environment varialbe
LANGFLOW_DATABASE_URL
start with "mysql+aiomysql://", the function_create_engine
split it to judge the database will be used. But if sqlite or postgresql is not used. the url is missing "://"