Skip to content

Commit

Permalink
docs: Fix the ambuiguity regarding global configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Feb 18, 2025
1 parent d104873 commit b6a30ea
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions skore/src/skore/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def get_config():
See Also
--------
config_context : Context manager for local skore configuration.
set_config : Set global skore configuration.
config_context : Context manager for skore configuration.
set_config : Set skore configuration.
Examples
--------
Expand All @@ -48,7 +48,11 @@ def get_config():
def set_config(
show_progress: bool = None,
):
"""Set global skore configuration.
"""Set skore configuration.
Setting the configuration affects global settings meaning that it will be used
by all skore functions and classes, even in the processes and threads spawned by
skore.
Parameters
----------
Expand All @@ -57,8 +61,8 @@ def set_config(
See Also
--------
config_context : Context manager for local skore configuration.
get_config : Retrieve current values of the global configuration.
config_context : Context manager for skore configuration.
get_config : Retrieve current values of the configuration.
Examples
--------
Expand All @@ -76,7 +80,11 @@ def config_context(
*,
show_progress: bool = None,
):
"""Context manager for local skore configuration.
"""Context manager for skore configuration.
Setting the configuration affects global settings meaning that it will be used
by all skore functions and classes, even in the processes and threads spawned by
skore.
Parameters
----------
Expand All @@ -89,8 +97,8 @@ def config_context(
See Also
--------
set_config : Set global skore configuration.
get_config : Retrieve current values of the global configuration.
set_config : Set skore configuration.
get_config : Retrieve current values of the configuration.
Notes
-----
Expand Down

0 comments on commit b6a30ea

Please sign in to comment.