Update doc blocks

This commit is contained in:
Roman Mogylatov 2021-12-20 23:41:47 +01:00
parent ef465a5bcb
commit 27c7c93561
2 changed files with 4 additions and 4 deletions

View File

@ -35675,7 +35675,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption
/* Python wrapper */
static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption_51from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_19dependency_injector_9providers_19ConfigurationOption_50from_env[] = "Load configuration value from the environment variable.\n\n :param name: Name of the environment variable.\n :type name: str\n\n :param default: Default value that is used if environment variable does not exist.\n :type default: object\n\n :param required: When required is True, raise an exception if environment variable is undefined.\n :type required: bool\n\n :param as_: Type converter (int, float, etc).\n :type as_: object\n\n :rtype: None\n ";
static char __pyx_doc_19dependency_injector_9providers_19ConfigurationOption_50from_env[] = "Load configuration value from the environment variable.\n\n :param name: Name of the environment variable.\n :type name: str\n\n :param default: Default value that is used if environment variable does not exist.\n :type default: object\n\n :param required: When required is True, raise an exception if environment variable is undefined.\n :type required: bool\n\n :param as_: Callable used for type casting (int, float, etc).\n :type as_: object\n\n :rtype: None\n ";
static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption_51from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyObject *__pyx_v_name = 0;
PyObject *__pyx_v_default = 0;
@ -44327,7 +44327,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_64fro
/* Python wrapper */
static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_67from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_19dependency_injector_9providers_13Configuration_66from_env[] = "Load configuration value from the environment variable.\n\n :param name: Name of the environment variable.\n :type name: str\n\n :param default: Default value that is used if environment variable does not exist.\n :type default: object\n\n :param required: When required is True, raise an exception if environment variable is undefined.\n :type required: bool\n\n :param as_: Type converter (int, float, etc).\n :type as_: object\n\n :rtype: None\n ";
static char __pyx_doc_19dependency_injector_9providers_13Configuration_66from_env[] = "Load configuration value from the environment variable.\n\n :param name: Name of the environment variable.\n :type name: str\n\n :param default: Default value that is used if environment variable does not exist.\n :type default: object\n\n :param required: When required is True, raise an exception if environment variable is undefined.\n :type required: bool\n\n :param as_: Callable used for type casting (int, float, etc).\n :type as_: object\n\n :rtype: None\n ";
static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_67from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyObject *__pyx_v_name = 0;
PyObject *__pyx_v_default = 0;

View File

@ -1701,7 +1701,7 @@ cdef class ConfigurationOption(Provider):
:param required: When required is True, raise an exception if environment variable is undefined.
:type required: bool
:param as_: Type converter (int, float, etc).
:param as_: Callable used for type casting (int, float, etc).
:type as_: object
:rtype: None
@ -2209,7 +2209,7 @@ cdef class Configuration(Object):
:param required: When required is True, raise an exception if environment variable is undefined.
:type required: bool
:param as_: Type converter (int, float, etc).
:param as_: Callable used for type casting (int, float, etc).
:type as_: object
:rtype: None