Skip to content

Commit

Permalink
Add new information about accessible package attributes and environme…
Browse files Browse the repository at this point in the history
…nt variables

Signed-off-by: Bryce Gattis <[email protected]>
  • Loading branch information
BryceGattis committed Mar 6, 2024
1 parent 153bd87 commit ddf24d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/package_definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ implicit :attr:`this` object:
Do not reference other early bound or late bound attributes in
your early bound function. An error will be raised if you do.

.. warning::
Certain package attributes cannot be accessed inside of an early bound function such as this.root.

Additionally, :ref: `build environment variables <context-environment-variables>` cannot be accessed inside
of early bound functions.

Early binding functions are a convenience. You can always use an arbitrary function instead, like so:

.. code-block:: python
Expand Down

0 comments on commit ddf24d4

Please sign in to comment.