mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-28 12:33:59 +03:00
Update doc blocks
This commit is contained in:
parent
ef465a5bcb
commit
27c7c93561
|
@ -35675,7 +35675,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption
|
||||||
|
|
||||||
/* Python wrapper */
|
/* Python wrapper */
|
||||||
static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption_51from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
|
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) {
|
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_name = 0;
|
||||||
PyObject *__pyx_v_default = 0;
|
PyObject *__pyx_v_default = 0;
|
||||||
|
@ -44327,7 +44327,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_64fro
|
||||||
|
|
||||||
/* Python wrapper */
|
/* Python wrapper */
|
||||||
static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_67from_env(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
|
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) {
|
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_name = 0;
|
||||||
PyObject *__pyx_v_default = 0;
|
PyObject *__pyx_v_default = 0;
|
||||||
|
|
|
@ -1701,7 +1701,7 @@ cdef class ConfigurationOption(Provider):
|
||||||
:param required: When required is True, raise an exception if environment variable is undefined.
|
:param required: When required is True, raise an exception if environment variable is undefined.
|
||||||
:type required: bool
|
:type required: bool
|
||||||
|
|
||||||
:param as_: Type converter (int, float, etc).
|
:param as_: Callable used for type casting (int, float, etc).
|
||||||
:type as_: object
|
:type as_: object
|
||||||
|
|
||||||
:rtype: None
|
:rtype: None
|
||||||
|
@ -2209,7 +2209,7 @@ cdef class Configuration(Object):
|
||||||
:param required: When required is True, raise an exception if environment variable is undefined.
|
:param required: When required is True, raise an exception if environment variable is undefined.
|
||||||
:type required: bool
|
:type required: bool
|
||||||
|
|
||||||
:param as_: Type converter (int, float, etc).
|
:param as_: Callable used for type casting (int, float, etc).
|
||||||
:type as_: object
|
:type as_: object
|
||||||
|
|
||||||
:rtype: None
|
:rtype: None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user