+
    }i	                        ^ RI Ht ^ RIHtHt ^ RIHt ^ RIHt ]'       d   ^ RI	H
t
 ^ RIHt ^ RIHtHtHt ]! R4       ! R	 R
]4      4       tR# )    )annotations)ABCabstractmethod)TYPE_CHECKING)
docs_group)Configuration)StorageClient)DatasetMetadataKeyValueStoreMetadataRequestQueueMetadataStoragesc                      ] tR t^tRt]]R R l4       4       t]]R R l4       4       t]R R l4       t	]
]RR	R
R	RR	RR	RR	/R R ll4       4       t]R R l4       t]R R l4       tRtR	# )StoragezBase class for storages.c                   V ^8  d   QhRR/# )   returnstr )formats   "h/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/crawlee/storages/_base.py__annotate__Storage.__annotate__   s     " "C "    c                    R# )zGet the storage ID.Nr   selfs   &r   id
Storage.id       r   c                   V ^8  d   QhRR/# )r   r   
str | Noner   )r   s   "r   r   r      s     $ $j $r   c                    R# )zGet the storage name.Nr   r   s   &r   nameStorage.name   r   r   c                   V ^8  d   QhRR/# )r   r   z>DatasetMetadata | KeyValueStoreMetadata | RequestQueueMetadatar   )r   s   "r   r   r      s     ( ($b (r   c                   "   R# 5i)zGet the storage metadata.Nr   r   s   &r   get_metadataStorage.get_metadata           r   Nr#   aliasconfigurationstorage_clientc               0    V ^8  d   QhRRRRRRRRRRR	R
/# )r   r   r!   r#   r+   r,   zConfiguration | Noner-   zStorageClient | Noner   r   r   )r   s   "r   r   r   "   sH        	
  , - 
r   c                  "   R# 5i)a  Open a storage, either restore existing or create a new one.

Args:
    id: The storage ID.
    name: The storage name (global scope, persists across runs). Name can only contain letters "a" through "z",
        the digits "0" through "9", and the hyphen ("-") but only in the middle of the string
        (e.g. "my-value-1").
    alias: The storage alias (run scope, creates unnamed storage).
    configuration: Configuration object used during the storage creation or restoration process.
    storage_client: Underlying storage client to use. If not provided, the default global storage client
        from the service locator will be used.
Nr   )clsr   r#   r+   r,   r-   s   &$$$$$r   openStorage.open    r)   r*   c                   V ^8  d   QhRR/# r   r   Noner   )r   s   "r   r   r   9   s     g gD gr   c                   "   R# 5i)zXDrop the storage, removing it from the underlying storage client and clearing the cache.Nr   r   s   &r   dropStorage.drop8   r)   r*   c                   V ^8  d   QhRR/# r4   r   )r   s   "r   r   r   =   s      T r   c                   "   R# 5i)zPurge the storage, removing all items from the underlying storage client.

This method does not remove the storage itself, e.g. don't remove the metadata,
but clears all items within it.
Nr   r   s   &r   purgeStorage.purge<   r)   r*   r   )__name__
__module____qualname____firstlineno____doc__propertyr   r   r#   r'   classmethodr1   r7   r;   __static_attributes__r   r   r   r   r      s    ""  " $  $ ( (    	
 ! /3 04  , g g  r   r   N)
__future__r   abcr   r   typingr   crawlee._utils.docsr   crawlee.configurationr   crawlee.storage_clients._baser	   crawlee.storage_clients.modelsr
   r   r   r   r   r   r   <module>rL      s@    " #   *3;kk J3c 3 3r   