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

No single example on how to use Config? #137

Open
doronbehar opened this issue Jan 9, 2025 · 1 comment
Open

No single example on how to use Config? #137

doronbehar opened this issue Jan 9, 2025 · 1 comment

Comments

@doronbehar
Copy link

Hi there :),

So I'm using beaupy.select in my app, and it took me a while to guess, that the way to use beaupy.Config is like this:

import beaupy
beaupy.Config.raise_on_interrupt = True

I was surprised that there is no way to set that config option per beaupy function call, and not on a global basis. Moreover, it is pretty unique for a library to provide a class that starts on an uppercase letter, and should not even be instantiated - hence at least a single example would be nice :).

Best,
Doron.

P.S I'm still waiting for a release with the pytest transition (#133 ).

@petereon
Copy link
Owner

petereon commented Jan 9, 2025

Hey Doron, thnaks for an issue, that's a fair assessment 😅 I am more than happy to accept a contribution if you would be willing - otherwise I will be able to get to documenting it over the weekend probably.

As for the release, sorry forgot, will try to get to it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants