mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-22 04:55:44 +00:00
updating documentation
This commit is contained in:
@@ -64,6 +64,7 @@ You can overwrite the ``config.toml`` location by setting the environment variab
|
|||||||
|
|
||||||
DEFAULT_CONFIG_PATH = "~/path/to/config"
|
DEFAULT_CONFIG_PATH = "~/path/to/config"
|
||||||
|
|
||||||
|
|
||||||
Setting values in your code
|
Setting values in your code
|
||||||
############################
|
############################
|
||||||
|
|
||||||
@@ -79,9 +80,9 @@ E.g your script could contain:
|
|||||||
import panaetius
|
import panaetius
|
||||||
panaetius.set_config(panaetius.CONFIG, 'logging.path')
|
panaetius.set_config(panaetius.CONFIG, 'logging.path')
|
||||||
|
|
||||||
.. Note::
|
.. Note::
|
||||||
|
|
||||||
The ``key`` attribute in :func:`panaetius.library.set_config` is specified as a string, with the hirearchy in the config file split with a ``.``.
|
The ``key`` attribute in :func:`panaetius.library.set_config` is specified as a string, with the hirearchy in the config file split with a ``.``.
|
||||||
|
|
||||||
.. Important::
|
.. Important::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user