§
    ”j  ã                   ó    —  G d „ d¦  «        Z dS )c                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )ÚUpdateAdapterzSUpdateAdapter is the interface for Casbin adapters with add update policy function.c                 ó   — dS )zr
        update_policy updates a policy rule from storage.
        This is part of the Auto-Save feature.
        N© )ÚselfÚsecÚptypeÚold_ruleÚ
new_policys        úg/lsinfo/ai/hellotax_ai/base_platform/venv/lib/python3.11/site-packages/casbin/persist/update_adapter.pyÚupdate_policyzUpdateAdapter.update_policy   s	   € ð
 	ˆó    c                 ó   — dS )zV
        UpdatePolicies updates some policy rules to storage, like db, redis.
        Nr   )r   r   r   Ú	old_rulesÚ	new_ruless        r   Úupdate_policieszUpdateAdapter.update_policies   ó	   € ð 	ˆr   c                 ó   — dS )zP
        update_filtered_policies deletes old rules and adds new rules.
        Nr   )r   r   r   r   Úfield_indexÚfield_valuess         r   Úupdate_filtered_policiesz&UpdateAdapter.update_filtered_policies    r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r      sG   € € € € € Ø]Ð]ðð ð ðð ð ðð ð ð ð r   r   N)r   r   r   r   ú<module>r      s7   ðð ð ð ð ð ñ ô ð ð ð r   