Skip to content

Commit

Permalink
Settings: Document use of non public properties
Browse files Browse the repository at this point in the history
Resolves: #627
  • Loading branch information
florianfesti committed Aug 2, 2024
1 parent 378648e commit c3d9393
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boxes/edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ class Settings:
Overload the absolute_params and relative_params class attributes with
the supported keys and default values. The values are available via
attribute access.
Store values that are not supposed to be changed by the users in class or
instance properties. This way API users can set them as needed wile still
be shared between all (Edge) instances using this settings object.
"""
absolute_params: dict[str, Any] = {} # TODO find better typing.
relative_params: dict[str, Any] = {} # TODO find better typing.
Expand Down

0 comments on commit c3d9393

Please sign in to comment.