Skip to content

Commit

Permalink
Tweaks docs on sdk constants
Browse files Browse the repository at this point in the history
  • Loading branch information
skrawcz committed Nov 18, 2024
1 parent ff484f5 commit 25ace32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/hamilton-ui/ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,15 @@ To change the defaults via a config file, you can do the following:
To change the defaults via environment variables, you can do the following, prefixing them with `HAMILTON_`:

.. code-block:: bash
export HAMILTON_MAX_LIST_LENGTH_CAPTURE=100
export HAMILTON_MAX_DICT_LENGTH_CAPTURE=200
python run_my_hamilton_code.py
To change the defaults directly, you can do the following:

.. code-block:: python
from hamilton_sdk.tracking import constants
Expand All @@ -304,6 +306,7 @@ To change the defaults directly, you can do the following:
.with_adapters(tracker)
.build()
)
dr.execute(...)
In terms of precedence, the order is:

Expand Down

0 comments on commit 25ace32

Please sign in to comment.