mgraph-ai-service-cache-client 0.18.0__tar.gz → 0.23.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/PKG-INFO +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/README.md +1 -1
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data/Service__Fast_API__Client__Data__Retrieve.py +12 -8
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/namespace/Service__Fast_API__Client__Namespace.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/update/Service__Fast_API__Client__File__Update.py +4 -4
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/cache_operations/Cache__Key__Builder.py +1 -1
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/testing/Cache_Client_Test_Helpers.py +4 -4
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Binary__Reference.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Delete__Success.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Exists__Response.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Metadata.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Retrieve__Request.py +3 -3
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Store__Response.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Update__Response.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Files__List.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Retrieve__Request.py +4 -4
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Store__Request.py +4 -4
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Store__Response.py +3 -3
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/file/Schema__Cache__File__Refs.py +6 -6
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/store/Schema__Cache__Hash__Entry.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/store/Schema__Cache__Hash__Reference.py +3 -3
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/store/Schema__Cache__Store__Metadata.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Batch__Request.py +8 -8
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Batch__Response.py +8 -8
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Operation__Request.py +5 -5
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Operation__Response.py +7 -7
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Store__Response.py +9 -9
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Zip__Batch__Operation.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Base.py +5 -5
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Conflict.py +5 -5
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Gone.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Not_Found.py +2 -2
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Unsupported_Media_Type.py +5 -5
- mgraph_ai_service_cache_client-0.23.0/mgraph_ai_service_cache_client/version +1 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/pyproject.toml +1 -1
- mgraph_ai_service_cache_client-0.18.0/mgraph_ai_service_cache_client/schemas/cache/Cache_Id.py +0 -5
- mgraph_ai_service_cache_client-0.18.0/mgraph_ai_service_cache_client/version +0 -1
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/LICENSE +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/Client__Cache__Service.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/Cache__Service__Fast_API__Client.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/Cache__Service__Fast_API__Client__Config.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/admin_storage/Service__Fast_API__Client__Admin__Storage.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/admin_storage/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/auth/Service__Fast_API__Client__Set_Cookie.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/auth/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data/Service__Fast_API__Client__Data.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data/Service__Fast_API__Client__Data__Delete.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data_store/Service__Fast_API__Client__Data__Store.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/data_store/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/delete/Service__Fast_API__Client__File__Delete.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/delete/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/exists/Service__Fast_API__Client__File__Exists.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/exists/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/info/Service__Fast_API__Client__Info.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/info/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/namespace/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/namespaces/Service__Fast_API__Client__Namespace.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/namespaces/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/retrieve/Service__Fast_API__Client__File__Retrieve.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/retrieve/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/server/Service__Fast_API__Client__Server.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/server/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/store/Service__Fast_API__Client__File__Store.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/store/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/zip/Service__Fast_API__Client__Zip.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/client_contract/zip/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/Cache__Decorator.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/Decorator__Cache.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/_previous/Cache__Decorator.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/_previous/Cache__Decorator__Key__Generator.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/_previous/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/cache_operations/Cache__Decorator__Operations.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/cache_operations/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/exceptions/Cache__Decorator__Exceptions.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/exceptions/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/Schema__Cache__Decorator__Config.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/Schema__Cache__Decorator__Data.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/configs/Cache__Decorator__Configs.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/configs/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/enums/Enum__Cache__Decorator__Mode.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/decorator/schemas/enums/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/requests/Cache__Service__Fast_API__Client__Requests.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/requests/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/requests/schemas/Schema__Cache__Service__Fast_API__Client__Requests__Result.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/requests/schemas/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/requests/schemas/enums/Enum__Client__Mode.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/client/testing/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Namespace__Stats.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Namespaces__List.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Retrieve__Success.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Stats__Response.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/consts__Cache_Service.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Delete__All_Files__Response.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/Schema__Cache__Data__Retrieve__Response.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/data/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/enums/Enum__Cache__Data_Type.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/enums/Enum__Cache__File_Type.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/enums/Enum__Cache__Storage_Mode.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/enums/Enum__Cache__Store__Strategy.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/enums/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/file/Schema__Cache__File__Paths.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/file/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/store/Schema__Cache__Store__Paths.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/store/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Cache__Zip__Store__Request.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/Schema__Zip__Operation__Result.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/enums/Enum__Cache__Zip__Condition.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/enums/Enum__Cache__Zip__Operation.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/enums/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/safe_str/Safe_Str__Cache__Zip__Operation__Message.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/safe_str/Safe_Str__Cache__Zip__Operation__Pattern.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/cache/zip/safe_str/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client/Cache__Client__Requests__Result.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client/health_checks/Client__Check__Target_Server__Auth.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client/health_checks/Client__Check__Target_Server__Status.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client_builder/Schema__Fast_API__Client__Server__Details.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/client_builder/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/consts/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/consts/const__Fast_API.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/consts/const__Storage.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/consts/consts__Cache_Client.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Invalid_Input.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Service_Unavailable.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/errors/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/routes/__init__.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/schemas/routes/admin/Schema__Routes__Admin__Storage__Files_All__Response.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/utils/Version.py +0 -0
- {mgraph_ai_service_cache_client-0.18.0 → mgraph_ai_service_cache_client-0.23.0}/mgraph_ai_service_cache_client/utils/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mgraph_ai_service_cache__client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
4
4
|
Summary: MGraph-AI__Service__Cache__Client
|
|
5
5
|
Home-page: https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client
|
|
6
6
|
License: Apache 2.0
|
|
@@ -16,7 +16,7 @@ Description-Content-Type: text/markdown
|
|
|
16
16
|
|
|
17
17
|
# MGraph AI Service Cache Client
|
|
18
18
|
|
|
19
|
-
[](https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client/releases)
|
|
20
20
|
[](https://www.python.org/downloads/)
|
|
21
21
|
[](https://fastapi.tiangolo.com/)
|
|
22
22
|
[](https://aws.amazon.com/lambda/)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MGraph AI Service Cache Client
|
|
2
2
|
|
|
3
|
-
[](https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client/releases)
|
|
4
4
|
[](https://www.python.org/downloads/)
|
|
5
5
|
[](https://fastapi.tiangolo.com/)
|
|
6
6
|
[](https://aws.amazon.com/lambda/)
|
|
@@ -20,8 +20,9 @@ class Service__Fast_API__Client__Data__Retrieve(Type_Safe):
|
|
|
20
20
|
path = path,
|
|
21
21
|
body = body
|
|
22
22
|
)
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if result.status_code == 200: # Return response data
|
|
24
|
+
return result.json
|
|
25
|
+
return None
|
|
25
26
|
|
|
26
27
|
def data__json__with__id_and_key(self, cache_id: str, namespace: str, data_key: str, data_file_id: str) -> Dict: # Auto-generated from endpoint get__data__json__with__id_and_key
|
|
27
28
|
# Build path
|
|
@@ -33,8 +34,9 @@ class Service__Fast_API__Client__Data__Retrieve(Type_Safe):
|
|
|
33
34
|
path = path,
|
|
34
35
|
body = body
|
|
35
36
|
)
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
if result.status_code == 200: # Return response data
|
|
38
|
+
return result.json
|
|
39
|
+
return None
|
|
38
40
|
|
|
39
41
|
@type_safe
|
|
40
42
|
def data__string__with__id(self,
|
|
@@ -82,8 +84,9 @@ class Service__Fast_API__Client__Data__Retrieve(Type_Safe):
|
|
|
82
84
|
path = path,
|
|
83
85
|
body = body
|
|
84
86
|
)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
if result.status_code == 200: # Return response data
|
|
88
|
+
return result.content
|
|
89
|
+
return None
|
|
87
90
|
|
|
88
91
|
def data__binary__with__id_and_key(self, cache_id: str, namespace: str, data_key: str, data_file_id: str) -> Dict: # Auto-generated from endpoint get__data__binary__with__id_and_key
|
|
89
92
|
# Build path
|
|
@@ -95,5 +98,6 @@ class Service__Fast_API__Client__Data__Retrieve(Type_Safe):
|
|
|
95
98
|
path = path,
|
|
96
99
|
body = body
|
|
97
100
|
)
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
if result.status_code == 200: # Return response data
|
|
102
|
+
return result.content
|
|
103
|
+
return None
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from typing import Dict, List
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
2
3
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
4
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.Random_Guid import Random_Guid
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
6
6
|
from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__List import Type_Safe__List
|
|
7
7
|
from osbot_utils.type_safe.type_safe_core.decorators.type_safe import type_safe
|
|
@@ -34,7 +34,7 @@ class Service__Fast_API__Client__Namespace(Type_Safe):
|
|
|
34
34
|
@type_safe
|
|
35
35
|
def cache_ids(self,
|
|
36
36
|
namespace: Safe_Str__Id
|
|
37
|
-
) -> List[
|
|
37
|
+
) -> List[Cache_Id]:
|
|
38
38
|
# Build path
|
|
39
39
|
path = f"/{namespace}/file-ids" # todo: BUG: rename file_ids to cache_ids (after client refactor)
|
|
40
40
|
body = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
5
|
from mgraph_ai_service_cache_client.schemas.cache.Schema__Cache__Update__Response import Schema__Cache__Update__Response
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ class Service__Fast_API__Client__File__Update(Type_Safe):
|
|
|
13
13
|
return self._client.requests()
|
|
14
14
|
|
|
15
15
|
def update__string(self,
|
|
16
|
-
cache_id :
|
|
16
|
+
cache_id : Cache_Id ,
|
|
17
17
|
namespace: Safe_Str__Id ,
|
|
18
18
|
body : str
|
|
19
19
|
) -> Schema__Cache__Update__Response: # Update string data in existing cache entry
|
|
@@ -29,7 +29,7 @@ class Service__Fast_API__Client__File__Update(Type_Safe):
|
|
|
29
29
|
return Schema__Cache__Update__Response.from_json(result.json)
|
|
30
30
|
|
|
31
31
|
def update__json(self,
|
|
32
|
-
cache_id :
|
|
32
|
+
cache_id : Cache_Id ,
|
|
33
33
|
namespace: Safe_Str__Id ,
|
|
34
34
|
body : dict
|
|
35
35
|
) -> Schema__Cache__Update__Response: # Update JSON data in existing cache entry
|
|
@@ -45,7 +45,7 @@ class Service__Fast_API__Client__File__Update(Type_Safe):
|
|
|
45
45
|
return Schema__Cache__Update__Response.from_json(result.text)
|
|
46
46
|
|
|
47
47
|
def update__binary(self,
|
|
48
|
-
cache_id :
|
|
48
|
+
cache_id : Cache_Id ,
|
|
49
49
|
namespace: Safe_Str__Id ,
|
|
50
50
|
body : bytes
|
|
51
51
|
) -> Schema__Cache__Update__Response: # Update binary data in existing cache entry
|
|
@@ -6,8 +6,8 @@ from osbot_utils.type_safe.Type_Safe
|
|
|
6
6
|
from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
8
8
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
9
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Python__Identifier import Safe_Str__Python__Identifier
|
|
10
9
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Json__Field_Path import Safe_Str__Json__Field_Path
|
|
10
|
+
from osbot_utils.type_safe.primitives.domains.python.safe_str.Safe_Str__Python__Identifier import Safe_Str__Python__Identifier
|
|
11
11
|
from osbot_utils.type_safe.type_safe_core.decorators.type_safe import type_safe
|
|
12
12
|
from osbot_utils.helpers.cache.Cache__Hash__Generator import Cache__Hash__Generator
|
|
13
13
|
from mgraph_ai_service_cache_client.client.decorator.schemas.Schema__Cache__Decorator__Config import Schema__Cache__Decorator__Config
|
|
@@ -11,7 +11,7 @@ Usage:
|
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from typing import Dict, List, Tuple
|
|
14
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
14
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
15
15
|
from osbot_utils.utils.Misc import random_string, random_bytes, str_to_bytes
|
|
16
16
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
17
17
|
from osbot_utils.type_safe.type_safe_core.decorators.type_safe import type_safe
|
|
@@ -50,8 +50,8 @@ class Cache_Client_Test_Helpers(Type_Safe):
|
|
|
50
50
|
file_id = file_id or '')
|
|
51
51
|
else:
|
|
52
52
|
return _.store__string(strategy = strategy ,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
namespace = namespace ,
|
|
54
|
+
body = value )
|
|
55
55
|
|
|
56
56
|
@type_safe
|
|
57
57
|
def create_json_entry(self,
|
|
@@ -211,7 +211,7 @@ class Cache_Client_Test_Helpers(Type_Safe):
|
|
|
211
211
|
json_count : int = 2 ,
|
|
212
212
|
binary_count : int = 1 ,
|
|
213
213
|
use_data_keys : bool = False
|
|
214
|
-
) -> Tuple[
|
|
214
|
+
) -> Tuple[Cache_Id, Schema__Cache__Store__Response, List[str]]:
|
|
215
215
|
"""
|
|
216
216
|
Create a cache entry with multiple data files attached
|
|
217
217
|
|
|
@@ -2,7 +2,7 @@ from osbot_utils.type_safe.Type_Safe
|
|
|
2
2
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text import Safe_Str__Text
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
5
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
6
6
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
8
8
|
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type import Enum__Cache__Data_Type
|
|
@@ -15,7 +15,7 @@ class Schema__Cache__Binary__Reference(Type_Safe): # Reference to binary da
|
|
|
15
15
|
data_type : Enum__Cache__Data_Type # Always BINARY
|
|
16
16
|
size : Safe_UInt # Size of binary data
|
|
17
17
|
cache_hash : Safe_Str__Cache_Hash # Hash of the data
|
|
18
|
-
cache_id :
|
|
18
|
+
cache_id : Cache_Id # ID of the entry
|
|
19
19
|
namespace : Safe_Str__Id # Namespace
|
|
20
20
|
binary_url : Safe_Str__File__Path # URL to retrieve binary data
|
|
21
21
|
metadata : Schema__Cache__Metadata # Full metadata
|
|
@@ -3,13 +3,13 @@ from osbot_utils.type_safe.Type_Safe
|
|
|
3
3
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text import Safe_Str__Text
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
6
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
6
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
8
8
|
|
|
9
9
|
# todo: this needs to be refactored to handle more cases (not just the success)
|
|
10
10
|
# Response for delete operations
|
|
11
11
|
class Schema__Cache__Delete__Success(Type_Safe): # Successful deletion
|
|
12
|
-
cache_id :
|
|
12
|
+
cache_id : Cache_Id # ID that was deleted
|
|
13
13
|
namespace : Safe_Str__Id # Namespace it was in
|
|
14
14
|
deleted_count : Safe_UInt # Number of files deleted
|
|
15
15
|
deleted_paths : List[Safe_Str__File__Path] # Paths that were deleted
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
5
5
|
from mgraph_ai_service_cache_client.schemas.cache.Schema__Cache__Metadata import Schema__Cache__Metadata
|
|
@@ -10,5 +10,5 @@ class Schema__Cache__Exists__Response(Type_Safe):
|
|
|
10
10
|
exists : bool # Whether entry exists
|
|
11
11
|
cache_hash : Safe_Str__Cache_Hash # Hash that was checked
|
|
12
12
|
namespace : Safe_Str__Id # Namespace checked
|
|
13
|
-
cache_id :
|
|
13
|
+
cache_id : Cache_Id = None # ID if it exists
|
|
14
14
|
metadata : Schema__Cache__Metadata = None # Metadata if it exists
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
2
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text import Safe_Str__Text
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
6
6
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
@@ -11,7 +11,7 @@ from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Stra
|
|
|
11
11
|
|
|
12
12
|
# Base response metadata that all responses share
|
|
13
13
|
class Schema__Cache__Metadata(Type_Safe): # Metadata about cached entry
|
|
14
|
-
cache_id :
|
|
14
|
+
cache_id : Cache_Id = None # Unique ID of this cache entry
|
|
15
15
|
cache_hash : Safe_Str__Cache_Hash = None # Content hash
|
|
16
16
|
cache_key : Safe_Str__Text = None # Optional semantic key
|
|
17
17
|
file_id : Safe_Str__Id = None # Optional file ID
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from osbot_utils.type_safe.Type_Safe
|
|
1
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
2
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class Schema__Cache__Retrieve__Request(Type_Safe): # Request schema for retrieving cache data
|
|
7
7
|
cache_hash : Safe_Str__Cache_Hash = None
|
|
8
|
-
cache_id :
|
|
8
|
+
cache_id : Cache_Id = None
|
|
9
9
|
include_data : bool = True
|
|
10
10
|
include_metadata: bool = True
|
|
11
11
|
include_config : bool = True
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from typing import List, Dict
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
2
3
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
4
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
5
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.Random_Guid import Random_Guid
|
|
6
6
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Schema__Cache__Store__Response(Type_Safe):
|
|
11
|
-
cache_id :
|
|
11
|
+
cache_id : Cache_Id
|
|
12
12
|
cache_hash : Safe_Str__Cache_Hash
|
|
13
13
|
namespace : Safe_Str__Id
|
|
14
14
|
paths : Dict[str,List[Safe_Str__File__Path]] # Structured paths
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
from typing import List
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
2
3
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
4
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
5
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
5
6
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
6
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.Random_Guid import Random_Guid
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
8
8
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Schema__Cache__Update__Response(Type_Safe): # Response for cache update operations
|
|
12
|
-
cache_id :
|
|
12
|
+
cache_id : Cache_Id # Cache entry ID (unchanged)
|
|
13
13
|
cache_hash : Safe_Str__Cache_Hash # Content hash (V1: unchanged)
|
|
14
14
|
namespace : Safe_Str__Id # Namespace
|
|
15
15
|
paths : List[Safe_Str__File__Path] # All updated file paths
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
from typing import List
|
|
2
2
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class Schema__Cache__Data__Files__List(Type_Safe):
|
|
9
|
-
cache_id :
|
|
9
|
+
cache_id : Cache_Id = None
|
|
10
10
|
namespace : Safe_Str__Id = None
|
|
11
11
|
data_key : Safe_Str__File__Path = None
|
|
12
12
|
data_files : List[Safe_Str__File__Path]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
2
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
|
-
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service
|
|
6
|
-
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type
|
|
5
|
+
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service import DEFAULT_CACHE__NAMESPACE
|
|
6
|
+
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type import Enum__Cache__Data_Type
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Schema__Cache__Data__Retrieve__Request(Type_Safe):
|
|
10
|
-
cache_id :
|
|
10
|
+
cache_id : Cache_Id = None
|
|
11
11
|
data_type : Enum__Cache__Data_Type = None # Required: 'string', 'json', or 'binary'
|
|
12
12
|
data_key : Safe_Str__File__Path = None
|
|
13
13
|
data_file_id : Safe_Str__Id = None
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from typing import Union
|
|
2
2
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
6
|
-
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service
|
|
7
|
-
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type
|
|
6
|
+
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service import DEFAULT_CACHE__NAMESPACE
|
|
7
|
+
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type import Enum__Cache__Data_Type
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Schema__Cache__Data__Store__Request(Type_Safe):
|
|
11
|
-
cache_id :
|
|
11
|
+
cache_id : Cache_Id = None
|
|
12
12
|
data : Union[str, dict, bytes] = None # Data to store as child
|
|
13
13
|
data_type : Enum__Cache__Data_Type = None # Type: 'string', 'json', or 'binary'
|
|
14
14
|
data_key : Safe_Str__File__Path = None
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
from typing import List, Dict
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
2
3
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
4
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
5
|
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
6
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
6
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
7
7
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
8
8
|
|
|
9
9
|
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Data_Type import Enum__Cache__Data_Type
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class Schema__Cache__Data__Store__Response(Type_Safe):
|
|
13
|
-
cache_id :
|
|
13
|
+
cache_id : Cache_Id = None
|
|
14
14
|
data_files_created : List[Safe_Str__File__Path] = None
|
|
15
15
|
data_key : Safe_Str__File__Path = None
|
|
16
16
|
data_type : Enum__Cache__Data_Type = None # Type: 'string', 'json', or 'binary'
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
6
|
-
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__File_Type
|
|
7
|
-
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Strategy
|
|
8
|
-
from mgraph_ai_service_cache_client.schemas.cache.file.Schema__Cache__File__Paths
|
|
9
|
-
from mgraph_ai_service_cache_client.schemas.cache.store.Schema__Cache__Store__Paths
|
|
6
|
+
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__File_Type import Enum__Cache__File_Type
|
|
7
|
+
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Strategy import Enum__Cache__Store__Strategy
|
|
8
|
+
from mgraph_ai_service_cache_client.schemas.cache.file.Schema__Cache__File__Paths import Schema__Cache__File__Paths
|
|
9
|
+
from mgraph_ai_service_cache_client.schemas.cache.store.Schema__Cache__Store__Paths import Schema__Cache__Store__Paths
|
|
10
10
|
|
|
11
11
|
# todo: review the field name 'all_paths' (in light of the new file_paths field)
|
|
12
12
|
class Schema__Cache__File__Refs(Type_Safe): # ID-to-hash reference with content paths
|
|
13
13
|
all_paths : Schema__Cache__Store__Paths # All file paths created
|
|
14
|
-
cache_id :
|
|
14
|
+
cache_id : Cache_Id # Cache ID
|
|
15
15
|
cache_hash : Safe_Str__Cache_Hash # Hash value
|
|
16
16
|
file_type : Enum__Cache__File_Type # Type of stored data
|
|
17
17
|
namespace : Safe_Str__Id # Namespace
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
3
3
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class Schema__Cache__Hash__Entry(Type_Safe): # Individual cache ID entry in hash reference
|
|
7
|
-
cache_id :
|
|
7
|
+
cache_id : Cache_Id # Cache ID
|
|
8
8
|
timestamp : Timestamp_Now
|
|
@@ -2,12 +2,12 @@ from typing
|
|
|
2
2
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
3
|
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
6
|
-
from mgraph_ai_service_cache_client.schemas.cache.store.Schema__Cache__Hash__Entry
|
|
5
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
6
|
+
from mgraph_ai_service_cache_client.schemas.cache.store.Schema__Cache__Hash__Entry import Schema__Cache__Hash__Entry
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Schema__Cache__Hash__Reference(Type_Safe): # Hash-to-ID reference structure
|
|
10
10
|
cache_hash : Safe_Str__Cache_Hash # The hash value
|
|
11
11
|
cache_ids : List[Schema__Cache__Hash__Entry] # All cache IDs with this hash
|
|
12
|
-
latest_id :
|
|
12
|
+
latest_id : Cache_Id # Most recent cache ID
|
|
13
13
|
total_versions : Safe_UInt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
2
|
from osbot_utils.type_safe.primitives.domains.common.safe_str.Safe_Str__Text import Safe_Str__Text
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
4
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
5
|
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
6
6
|
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
@@ -12,7 +12,7 @@ from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Stra
|
|
|
12
12
|
class Schema__Cache__Store__Metadata(Type_Safe): # Metadata for stored cache entries
|
|
13
13
|
cache_hash : Safe_Str__Cache_Hash = None # Hash of the data
|
|
14
14
|
cache_key : Safe_Str__Text = None # Optional semantic key
|
|
15
|
-
cache_id :
|
|
15
|
+
cache_id : Cache_Id = None # Cache entry ID
|
|
16
16
|
content_encoding : Safe_Str__Id = None # Optional encoding
|
|
17
17
|
file_id : Safe_Str__Id = None # File ID used for storage
|
|
18
18
|
file_type : Enum__Cache__File_Type = None # Type: 'json' or 'binary'
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
from typing
|
|
2
|
-
from osbot_utils.type_safe.Type_Safe
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id
|
|
5
|
-
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service
|
|
6
|
-
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Strategy
|
|
7
|
-
from mgraph_ai_service_cache_client.schemas.cache.zip.Schema__Zip__Batch__Operation
|
|
1
|
+
from typing import List
|
|
2
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
|
+
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service import DEFAULT_CACHE__NAMESPACE
|
|
6
|
+
from mgraph_ai_service_cache_client.schemas.cache.enums.Enum__Cache__Store__Strategy import Enum__Cache__Store__Strategy
|
|
7
|
+
from mgraph_ai_service_cache_client.schemas.cache.zip.Schema__Zip__Batch__Operation import Schema__Zip__Batch__Operation
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Schema__Cache__Zip__Batch__Request(Type_Safe): # Request for batch zip operations
|
|
11
11
|
atomic : bool = True # All-or-nothing execution
|
|
12
|
-
cache_id :
|
|
12
|
+
cache_id : Cache_Id = None # ID of the zip file to operate on
|
|
13
13
|
namespace : Safe_Str__Id = DEFAULT_CACHE__NAMESPACE # Namespace for isolation
|
|
14
14
|
strategy : Enum__Cache__Store__Strategy = None # How to save result
|
|
15
15
|
operations : List[Schema__Zip__Batch__Operation] # List of operations to perform
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
from typing
|
|
2
|
-
from osbot_utils.type_safe.Type_Safe
|
|
3
|
-
from osbot_utils.type_safe.primitives.core.Safe_UInt
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
6
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now
|
|
1
|
+
from typing import List
|
|
2
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
|
+
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
6
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
7
7
|
from mgraph_ai_service_cache_client.schemas.cache.zip.Schema__Zip__Operation__Result import Schema__Zip__Operation__Result
|
|
8
8
|
from mgraph_ai_service_cache_client.schemas.cache.zip.safe_str.Safe_Str__Cache__Zip__Operation__Message import Safe_Str__Cache__Zip__Operation__Message
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Schema__Cache__Zip__Batch__Response(Type_Safe): # Response from batch operations
|
|
12
12
|
success : bool # Overall success status
|
|
13
|
-
cache_id :
|
|
14
|
-
original_cache_id :
|
|
13
|
+
cache_id : Cache_Id = None # Original zip ID
|
|
14
|
+
original_cache_id : Cache_Id = None # Original ID for provenance
|
|
15
15
|
operations_applied : Safe_UInt # Number of successful operations
|
|
16
16
|
operations_failed : Safe_UInt # Number of failed operations
|
|
17
17
|
operation_results : List[Schema__Zip__Operation__Result] # Individual results
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
from osbot_utils.type_safe.Type_Safe
|
|
2
|
-
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path
|
|
3
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id
|
|
1
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
2
|
+
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
3
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
5
5
|
from mgraph_ai_service_cache_client.schemas.cache.consts__Cache_Service import DEFAULT_CACHE__NAMESPACE
|
|
6
6
|
from mgraph_ai_service_cache_client.schemas.cache.zip.enums.Enum__Cache__Zip__Operation import Enum__Cache__Zip__Operation
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Schema__Cache__Zip__Operation__Request(Type_Safe): # Request for single zip operation
|
|
10
|
-
cache_id :
|
|
10
|
+
cache_id : Cache_Id # ID of the zip file to operate on
|
|
11
11
|
operation : Enum__Cache__Zip__Operation # Operation type
|
|
12
12
|
file_path : Safe_Str__File__Path = None # Path within zip (for get/add/remove/replace)
|
|
13
13
|
file_content: bytes = None # Content for add/replace operations
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from typing
|
|
2
|
-
from osbot_utils.type_safe.Type_Safe
|
|
3
|
-
from osbot_utils.type_safe.primitives.core.Safe_UInt
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
1
|
+
from typing import List, Dict, Any, Optional
|
|
2
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
|
+
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
6
6
|
from mgraph_ai_service_cache_client.schemas.cache.zip.enums.Enum__Cache__Zip__Operation import Enum__Cache__Zip__Operation
|
|
7
7
|
from mgraph_ai_service_cache_client.schemas.cache.zip.safe_str.Safe_Str__Cache__Zip__Operation__Message import Safe_Str__Cache__Zip__Operation__Message
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ from mgraph_ai_service_cache_client.schemas.cache.zip.safe_str.Safe_Str__Cache__
|
|
|
10
10
|
class Schema__Cache__Zip__Operation__Response(Type_Safe): # Response from zip operation
|
|
11
11
|
success : bool # Whether operation succeeded
|
|
12
12
|
operation : Enum__Cache__Zip__Operation # Operation that was performed
|
|
13
|
-
cache_id :
|
|
14
|
-
original_cache_id : Optional[
|
|
13
|
+
cache_id : Cache_Id = None # ID of the zip file operated on
|
|
14
|
+
original_cache_id : Optional[Cache_Id] = None
|
|
15
15
|
message : Safe_Str__Cache__Zip__Operation__Message = None # Optional status message
|
|
16
16
|
file_list : List[Safe_Str__File__Path] # For list operation
|
|
17
17
|
file_content : bytes # For get operation
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
from typing
|
|
2
|
-
from osbot_utils.type_safe.Type_Safe
|
|
3
|
-
from osbot_utils.type_safe.primitives.core.Safe_UInt
|
|
4
|
-
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path
|
|
5
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.
|
|
6
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id
|
|
7
|
-
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash
|
|
8
|
-
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now
|
|
1
|
+
from typing import List, Dict, Optional
|
|
2
|
+
from osbot_utils.type_safe.Type_Safe import Type_Safe
|
|
3
|
+
from osbot_utils.type_safe.primitives.core.Safe_UInt import Safe_UInt
|
|
4
|
+
from osbot_utils.type_safe.primitives.domains.files.safe_str.Safe_Str__File__Path import Safe_Str__File__Path
|
|
5
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.Cache_Id import Cache_Id
|
|
6
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_str.Safe_Str__Id import Safe_Str__Id
|
|
7
|
+
from osbot_utils.type_safe.primitives.domains.cryptography.safe_str.Safe_Str__Cache_Hash import Safe_Str__Cache_Hash
|
|
8
|
+
from osbot_utils.type_safe.primitives.domains.identifiers.safe_int.Timestamp_Now import Timestamp_Now
|
|
9
9
|
from mgraph_ai_service_cache_client.schemas.cache.zip.safe_str.Safe_Str__Cache__Zip__Operation__Message import Safe_Str__Cache__Zip__Operation__Message
|
|
10
10
|
|
|
11
11
|
class Schema__Cache__Zip__Store__Response(Type_Safe): # Response after storing zip file
|
|
12
|
-
cache_id : Optional[
|
|
12
|
+
cache_id : Optional[Cache_Id] = None # Generated ID for this zip entry
|
|
13
13
|
cache_hash : Optional[Safe_Str__Cache_Hash] = None # Hash of the zip content
|
|
14
14
|
namespace : Safe_Str__Id # Namespace where stored
|
|
15
15
|
paths : Dict[Safe_Str__Id, List[Safe_Str__File__Path]] # Storage paths by type
|
|
@@ -6,8 +6,8 @@ from mgraph_ai_service_cache_client.schemas.cache.zip.safe_str.Safe_Str__Cache__
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class Schema__Zip__Batch__Operation(Type_Safe): # Individual operation in batch
|
|
9
|
-
action : Enum__Cache__Zip__Operation
|
|
10
|
-
path : Safe_Str__File__Path
|
|
9
|
+
action : Enum__Cache__Zip__Operation = None # Operation type
|
|
10
|
+
path : Safe_Str__File__Path = None # File path in zip
|
|
11
11
|
content : bytes = None # Content for add/replace
|
|
12
12
|
new_path : Safe_Str__File__Path = None # New path for rename/move
|
|
13
13
|
condition : Enum__Cache__Zip__Condition = Enum__Cache__Zip__Condition.ALWAYS # Conditional execution
|