julee.repositories.minio.assembly_specification =============================================== .. py:module:: julee.repositories.minio.assembly_specification .. autoapi-nested-parse:: Minio implementation of AssemblySpecificationRepository. This module provides a Minio-based implementation of the AssemblySpecificationRepository protocol that follows the Clean Architecture patterns defined in the Fun-Police Framework. It handles assembly specification storage with complete JSON schemas and knowledge service query configurations, ensuring idempotency and proper error handling. The implementation stores assembly specifications as JSON objects in Minio, following the large payload handling pattern from the architectural guidelines. Each specification is stored as a complete JSON document with its schema and query mappings. Classes ------- .. autoapisummary:: julee.repositories.minio.assembly_specification.MinioAssemblySpecificationRepository Module Contents --------------- .. py:class:: MinioAssemblySpecificationRepository(client) Bases: :py:obj:`julee.domain.repositories.assembly_specification.AssemblySpecificationRepository`, :py:obj:`julee.repositories.minio.client.MinioRepositoryMixin` Minio implementation of AssemblySpecificationRepository using Minio for persistence. This implementation stores assembly specifications as JSON objects in the "assembly-specifications" bucket. Each specification includes its complete JSON schema definition and knowledge service query mappings. .. py:method:: generate_id() :async: Generate a unique assembly specification identifier. .. py:method:: get(assembly_specification_id) :async: Retrieve an assembly specification by ID. .. py:method:: get_many(assembly_specification_ids) :async: Retrieve multiple assembly specifications by ID. :param assembly_specification_ids: List of unique specification :param identifiers: :returns: Dict mapping specification_id to AssemblySpecification (or None if not found) .. py:method:: list_all() :async: List all assembly specifications. :returns: List of all assembly specifications, sorted by assembly_specification_id .. py:method:: save(assembly_specification) :async: Save an assembly specification to Minio. .. py:attribute:: client .. py:attribute:: logger .. py:attribute:: specifications_bucket :value: 'assembly-specifications'