From ef465a5bcb9ec41c7850238355d7677716e9a040 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Mon, 20 Dec 2021 23:37:13 +0100 Subject: [PATCH] Update wording in changelog and docs --- docs/main/changelog.rst | 4 ++-- docs/providers/configuration.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 315f6bfb..c1cd4d4d 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -9,8 +9,8 @@ follows `Semantic versioning`_ Development version ------------------- -- Add argument ``as_`` to the ``config.from_env()`` method for the explicit type conversion - after reading an environment variable value, e.g.: ``config.timeout.from_env("TIMEOUT", as_=int)``. +- Add argument ``as_`` to the ``config.from_env()`` method for the explicit type casting + of an environment variable value, e.g.: ``config.timeout.from_env("TIMEOUT", as_=int)``. - Add ``.providers`` attribute to the ``FactoryAggregate`` provider. It is an alias for ``FactoryAggregate.factories`` attribute. - Add ``.set_providers()`` method to the ``FactoryAggregate`` provider. It is an alias for diff --git a/docs/providers/configuration.rst b/docs/providers/configuration.rst index 576aba46..efb3d3a2 100644 --- a/docs/providers/configuration.rst +++ b/docs/providers/configuration.rst @@ -205,7 +205,7 @@ Loading from an environment variable :lines: 3- :emphasize-lines: 18-20 -You can use ``as_`` argument to convert the type of an environment variable: +You can use ``as_`` argument for the type casting of an environment variable value: .. code-block:: python :emphasize-lines: 2,6,10