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

implement a skip_config_creation option in get_user_info #244

Closed
Tracked by #143
sbillinge opened this issue Dec 17, 2024 · 0 comments · Fixed by #267
Closed
Tracked by #143

implement a skip_config_creation option in get_user_info #244

sbillinge opened this issue Dec 17, 2024 · 0 comments · Fixed by #267
Assignees

Comments

@sbillinge
Copy link
Contributor

Problem

A user may want to user get_user_info but not want it to interrupt execution if it can't find a config file.b

Proposed solution

as a NON DEFAULT option allow them to override interrupt.

This occured to @sbillinge while he was tweaking the docs. He wrote the docs as if it were implemented. Here is what he wrote:

Getting user data with no config files and with no interruption of execution
----------------------------------------------------------------------------

If you would like get run ``get_user_data()`` but without execution interruption even if it cannot find
an input file, type

.. code-block:: python

    user_data = get_user_data(skip_config_creation=True)

But this needs to be implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment