Skip to content
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

Removing autocomplete for all limit #3322

Merged
merged 7 commits into from
Nov 10, 2022

Conversation

simmonsj330
Copy link
Contributor

Description

Fixes #3253 by removing limit autocompletion across the entire terminal.

Others

  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.

@simmonsj330 simmonsj330 added the bug Fix bug label Nov 5, 2022
@simmonsj330 simmonsj330 self-assigned this Nov 5, 2022
"-l": "--limit",
}
choices["rates"] = {
"--raw": {},
"--limit": {str(c): {} for c in range(1, 1000)},
"--limit": None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these all need to be "--limit":{}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmaslek whats the difference?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually I think it does not need to be that? I seethe line above we do {} instead of None so I wasnt completely sure.

Copy link
Collaborator

@jmaslek jmaslek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix merge conflict then we good 👍

@jmaslek jmaslek merged commit c8df2c3 into OpenBB-finance:main Nov 10, 2022
@simmonsj330 simmonsj330 deleted the limit_autocomplete_fix branch November 10, 2022 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[IMPROVE]. Get rid of auto complete for limit everywhere
2 participants