Skip to content

Commit

Permalink
Add documentation for the new attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Dec 7, 2023
1 parent 5d4509f commit 48d8465
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ The following attributes are builtin to the default :py:class:`~.Context` object
+-------------------+-------------------------------------+
| ``length`` | :py:attr:`~.DataType.FLOAT` |
+-------------------+-------------------------------------+
| ``to_ary`` | :py:attr:`~.DataType.ARRAY` |
+-------------------+-------------------------------------+
| ``to_set`` | :py:attr:`~.DataType.SET` |
+-------------------+-------------------------------------+
| :py:attr:`~.DataType.DATETIME` **Attributes** |
Expand Down Expand Up @@ -65,6 +67,8 @@ The following attributes are builtin to the default :py:class:`~.Context` object
+-------------------+-------------------------------------+
| ``floor`` | :py:attr:`~.DataType.FLOAT` |
+-------------------+-------------------------------------+
| ``to_flt`` | :py:attr:`~.DataType.FLOAT` |
+-------------------+-------------------------------------+
| ``to_str`` | :py:attr:`~.DataType.STRING` |
+-------------------+-------------------------------------+
| :py:attr:`~.DataType.MAPPING` **Attributes** |
Expand All @@ -85,6 +89,8 @@ The following attributes are builtin to the default :py:class:`~.Context` object
+-------------------+-------------------------------------+
| ``to_ary`` | :py:attr:`~.DataType.ARRAY` |
+-------------------+-------------------------------------+
| ``to_set`` | :py:attr:`~.DataType.SET` |
+-------------------+-------------------------------------+
| :py:attr:`~.DataType.STRING` **Attributes** |
+-------------------+-------------------------------------+
| ``as_lower`` | :py:attr:`~.DataType.STRING` |
Expand All @@ -97,6 +103,8 @@ The following attributes are builtin to the default :py:class:`~.Context` object
+-------------------+-------------------------------------+
| ``to_set`` | :py:attr:`~.DataType.SET` |
+-------------------+-------------------------------------+
| ``to_str`` | :py:attr:`~.DataType.STRING` |
+-------------------+-------------------------------------+
| ``to_int`` | :py:attr:`~.DataType.FLOAT` |
+-------------------+-------------------------------------+
| ``is_empty`` | :py:attr:`~.DataType.BOOLEAN` |
Expand Down

0 comments on commit 48d8465

Please sign in to comment.