mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Make code style fixes in providers module
This commit is contained in:
parent
3046804bf5
commit
007c256c5f
|
@ -9,7 +9,7 @@ follows `Semantic versioning`_
|
||||||
|
|
||||||
Development version
|
Development version
|
||||||
-------------------
|
-------------------
|
||||||
- No features.
|
- Code style fixes in ``providers`` module.
|
||||||
|
|
||||||
3.4.7
|
3.4.7
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -8815,8 +8815,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
/* "providers.pxd":246
|
/* "providers.pxd":246
|
||||||
* self.__args_len)
|
* self.__args_len)
|
||||||
* keyword_args = __provide_keyword_args(kwargs,
|
* keyword_args = __provide_keyword_args(kwargs,
|
||||||
* self.__kwargs, # <<<<<<<<<<<<<<
|
* self.__kwargs, # <<<<<<<<<<<<<<
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
__pyx_t_2 = __pyx_v_self->__pyx___kwargs;
|
__pyx_t_2 = __pyx_v_self->__pyx___kwargs;
|
||||||
|
@ -8826,8 +8826,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
* self.__args,
|
* self.__args,
|
||||||
* self.__args_len)
|
* self.__args_len)
|
||||||
* keyword_args = __provide_keyword_args(kwargs, # <<<<<<<<<<<<<<
|
* keyword_args = __provide_keyword_args(kwargs, # <<<<<<<<<<<<<<
|
||||||
* self.__kwargs,
|
* self.__kwargs,
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*/
|
*/
|
||||||
__pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 245, __pyx_L1_error)
|
__pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 245, __pyx_L1_error)
|
||||||
__Pyx_GOTREF(__pyx_t_1);
|
__Pyx_GOTREF(__pyx_t_1);
|
||||||
|
@ -8836,7 +8836,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
__pyx_t_1 = 0;
|
__pyx_t_1 = 0;
|
||||||
|
|
||||||
/* "providers.pxd":249
|
/* "providers.pxd":249
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*
|
*
|
||||||
* return self.__provides(*positional_args, **keyword_args) # <<<<<<<<<<<<<<
|
* return self.__provides(*positional_args, **keyword_args) # <<<<<<<<<<<<<<
|
||||||
*
|
*
|
||||||
|
|
|
@ -22296,8 +22296,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
/* "dependency_injector/providers.pxd":246
|
/* "dependency_injector/providers.pxd":246
|
||||||
* self.__args_len)
|
* self.__args_len)
|
||||||
* keyword_args = __provide_keyword_args(kwargs,
|
* keyword_args = __provide_keyword_args(kwargs,
|
||||||
* self.__kwargs, # <<<<<<<<<<<<<<
|
* self.__kwargs, # <<<<<<<<<<<<<<
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
__pyx_t_2 = __pyx_v_self->__pyx___kwargs;
|
__pyx_t_2 = __pyx_v_self->__pyx___kwargs;
|
||||||
|
@ -22307,8 +22307,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
* self.__args,
|
* self.__args,
|
||||||
* self.__args_len)
|
* self.__args_len)
|
||||||
* keyword_args = __provide_keyword_args(kwargs, # <<<<<<<<<<<<<<
|
* keyword_args = __provide_keyword_args(kwargs, # <<<<<<<<<<<<<<
|
||||||
* self.__kwargs,
|
* self.__kwargs,
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*/
|
*/
|
||||||
__pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 245, __pyx_L1_error)
|
__pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 245, __pyx_L1_error)
|
||||||
__Pyx_GOTREF(__pyx_t_1);
|
__Pyx_GOTREF(__pyx_t_1);
|
||||||
|
@ -22317,7 +22317,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab
|
||||||
__pyx_t_1 = 0;
|
__pyx_t_1 = 0;
|
||||||
|
|
||||||
/* "dependency_injector/providers.pxd":249
|
/* "dependency_injector/providers.pxd":249
|
||||||
* self.__kwargs_len)
|
* self.__kwargs_len)
|
||||||
*
|
*
|
||||||
* return self.__provides(*positional_args, **keyword_args) # <<<<<<<<<<<<<<
|
* return self.__provides(*positional_args, **keyword_args) # <<<<<<<<<<<<<<
|
||||||
*
|
*
|
||||||
|
|
|
@ -243,8 +243,8 @@ cdef inline object __callable_call(Callable self, tuple args, dict kwargs):
|
||||||
self.__args,
|
self.__args,
|
||||||
self.__args_len)
|
self.__args_len)
|
||||||
keyword_args = __provide_keyword_args(kwargs,
|
keyword_args = __provide_keyword_args(kwargs,
|
||||||
self.__kwargs,
|
self.__kwargs,
|
||||||
self.__kwargs_len)
|
self.__kwargs_len)
|
||||||
|
|
||||||
return self.__provides(*positional_args, **keyword_args)
|
return self.__provides(*positional_args, **keyword_args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user