Skip to content

Commit

Permalink
Docs: Changed macros to correct classes and modules (apache#20637)
Browse files Browse the repository at this point in the history
closes: apache#20545
Fixed docs for time and random macros as the reference to what they are was incorrect.
  • Loading branch information
rustikk authored Jan 4, 2022
1 parent b1b8f30 commit 8b2299b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/apache-airflow/templates-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ Variable Description
``macros.datetime`` The standard lib's :class:`datetime.datetime`
``macros.timedelta`` The standard lib's :class:`datetime.timedelta`
``macros.dateutil`` A reference to the ``dateutil`` package
``macros.time`` The standard lib's :class:`datetime.time`
``macros.time`` The standard lib's :mod:`time`
``macros.uuid`` The standard lib's :mod:`uuid`
``macros.random`` The standard lib's :mod:`random`
``macros.random`` The standard lib's :class:`random.random`
================================= ==============================================

Some airflow specific macros are also defined:
Expand Down

0 comments on commit 8b2299b

Please sign in to comment.