这是indexloc提供的服务,不要输入任何密码
Skip to content

[BugFix] openbb-platform-api: Fix Empty Default Templates #7089

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

Merged
merged 4 commits into from
Apr 14, 2025

Conversation

deeleeramone
Copy link
Contributor

  1. Why?:

    • Conditional statement returning the combined user and default templates was failing when the user file does not exist.
  2. What?

    • Corrects the conditional logic.
    • Creates an empty user templates file in the user data directory for users to have somewhere to paste the exported template from Workspace.
  3. Impact:

    • Fixes bug.
  4. Testing Done:

    • If this file already exists locally, change the user_data_directory setting and A/B.

@deeleeramone deeleeramone added bug Bugs and bug fixes platform OpenBB Platform v4 PRs for v4 labels Apr 10, 2025
@deeleeramone deeleeramone assigned piiq and unassigned piiq Apr 10, 2025
@deeleeramone deeleeramone requested a review from piiq April 11, 2025 17:33
@deeleeramone deeleeramone enabled auto-merge April 14, 2025 15:06
@deeleeramone deeleeramone added this pull request to the merge queue Apr 14, 2025
Merged via the queue into develop with commit 841ef1c Apr 14, 2025
9 checks passed
@piiq piiq deleted the bugfix/default-templates branch April 28, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and bug fixes platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants