Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.5.151
Your Ip: 216.73.217.148
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : lock.cpython-39.pyc
a

�)gn�@s2ddlmZmZmZeZddlmZddd�ZdS)�)�absolute_import�division�print_function��wraps�missing_lock_attrNcs��fdd�}|S)aoThis decorator is a generic implementation that allows you
    to either use a pre-defined instance attribute as the location
    of the lock, or to explicitly pass a lock object.

    This code was implemented with ``threading.Lock`` in mind, but
    may work with other locks, assuming that they function as
    context managers.

    When using ``attr``, the assumption is the first argument to
    the wrapped method, is ``self`` or ``cls``.

    Examples:

        @lock_decorator(attr='_callback_lock')
        def send_callback(...):

        @lock_decorator(lock=threading.Lock())
        def some_method(...):
    cst�����fdd��}|S)NcsR�durt|d��}n�}|��|i|��Wd�S1sD0YdS)Nr)�getattr)�args�kwargs�_lock)�attr�func�lock��6/usr/lib/python3.9/site-packages/ansible/utils/lock.py�inner s
z,lock_decorator.<locals>.outer.<locals>.innerr)r
r�rr)r
r�outers	zlock_decorator.<locals>.outerr)rrrrrr�lock_decoratorsr)rN)	Z
__future__rrr�typeZ
__metaclass__�	functoolsrrrrrr�<module>s
© 2026 UnknownSec