Update wording in changelog and docs

This commit is contained in:
Roman Mogylatov 2021-12-20 23:37:13 +01:00
parent 926208c490
commit ef465a5bcb
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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