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

Fix exe --file choices on login #4799

Merged
merged 4 commits into from
Apr 17, 2023
Merged

Conversation

montezdesousa
Copy link
Contributor

@montezdesousa montezdesousa commented Apr 17, 2023

  • Makes sure that exe --file choices are updated right after login

Test:

  • login with openbb --login and account/login and check that exe --file command on home menu displays the hub routines (default and personal)

@montezdesousa montezdesousa added the bug Fix bug label Apr 17, 2023
@reviewpad reviewpad bot added the feat XS Extra small feature label Apr 17, 2023
@montezdesousa montezdesousa changed the title Fix exe --file autocomplete Fix exe --file choices on login Apr 17, 2023
@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

❗ No coverage uploaded for pull request base (develop@e1e90dc). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #4799   +/-   ##
==========================================
  Coverage           ?   58.41%           
==========================================
  Files              ?      586           
  Lines              ?    53754           
  Branches           ?        0           
==========================================
  Hits               ?    31400           
  Misses             ?    22354           
  Partials           ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@montezdesousa montezdesousa marked this pull request as draft April 17, 2023 11:02
@montezdesousa montezdesousa marked this pull request as ready for review April 17, 2023 11:34
@deeleeramone
Copy link
Contributor

Can you merge this with the other PR, #4802? Hard to test the other without this in place. :)

@montezdesousa montezdesousa changed the base branch from develop to hotfix/fix_remember April 17, 2023 16:41
@montezdesousa montezdesousa merged commit 75fba55 into hotfix/fix_remember Apr 17, 2023
@montezdesousa
Copy link
Contributor Author

Can you merge this with the other PR, #4802? Hard to test the other without this in place. :)

done

jmaslek added a commit that referenced this pull request Apr 17, 2023
* add remember attribute to user

* don't save hist if not remember

* remove routines on exit if not remember

* fix unittests

* remove hub routines on exit

* check if user is local first

* remove hist file on exit if not remember

* comma

* Fix `exe --file` choices on login (#4799)

* download and save routines in sync, to have choices immediatly available

* fix: docs min

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
montezdesousa added a commit that referenced this pull request Apr 17, 2023
* add remember attribute to user

* don't save hist if not remember

* remove routines on exit if not remember

* fix unittests

* remove hub routines on exit

* check if user is local first

* remove hist file on exit if not remember

* comma

* Fix `exe --file` choices on login (#4799)

* download and save routines in sync, to have choices immediatly available

* fix: docs min

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

* don't delete session on reset

* Update terminal_helper.py

* Update terminal_helper.py

* less prints

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
@piiq piiq deleted the hotfix/fix_routines branch April 24, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug feat XS Extra small feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants