diff --git a/src/dependency_injector/providers.c b/src/dependency_injector/providers.c index 089afe35..7b5e9957 100644 --- a/src/dependency_injector/providers.c +++ b/src/dependency_injector/providers.c @@ -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; diff --git a/src/dependency_injector/providers.pyx b/src/dependency_injector/providers.pyx index 5bfbf56c..943995ad 100644 --- a/src/dependency_injector/providers.pyx +++ b/src/dependency_injector/providers.pyx @@ -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