§
    ”j’  ã                   ó    —  G d „ d¦  «        Z dS )c                   ó*   — e Zd ZdZdefd„Zd„ Zd„ ZdS )ÚWatcherz/Watcher is the interface for PyCasbin watchers.Úfuncc                 ó   — dS )zÓ
        set_update_callback sets the callback function that the watcher will call
        when the policy in DB has been changed by other instances.
        A classic callback is Enforcer.LoadPolicy().
        N© )Úselfr   s     ú`/lsinfo/ai/hellotax_ai/base_platform/venv/lib/python3.11/site-packages/casbin/persist/watcher.pyÚset_update_callbackzWatcher.set_update_callback   ó	   € ð 	ˆó    c                 ó   — dS )zø
        update calls the update callback of other instances to synchronize their policy.
        It is usually called after changing the policy in DB, like Enforcer.SavePolicy(),
        Enforcer.AddPolicy(), Enforcer.RemovePolicy(), etc.
        Nr   ©r   s    r   ÚupdatezWatcher.update   r
   r   c                 ó   — dS )zj
        close stops and releases the watcher, the callback function will not be called any more.
        Nr   r   s    r   ÚclosezWatcher.close#   s	   € ð 	ˆr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úcallabler	   r   r   r   r   r   r   r      sS   € € € € € Ø9Ð9ð¨ð ð ð ð ðð ð ðð ð ð ð r   r   N)r   r   r   r   ú<module>r      s7   ðð ð ð ð ð ñ ô ð ð ð r   