:py:mod:`vendor_fabric.meshy.persistence.repository` ==================================================== .. py:module:: vendor_fabric.meshy.persistence.repository .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository :parser: myst :allowtitles: Module Contents --------------- Classes ~~~~~~~ .. list-table:: :class: autosummary longtable :align: left * - :py:obj:`TaskRepository ` - .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository :parser: myst :summary: API ~~~ .. py:class:: TaskRepository(base_path: str = 'client/public/models') :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository :parser: myst .. rubric:: Initialization .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.__init__ :parser: myst .. py:method:: load_project_manifest(project: str) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.load_project_manifest .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.load_project_manifest :parser: myst .. py:method:: save_project_manifest(manifest: vendor_fabric.meshy.persistence.schemas.ProjectManifest) -> None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.save_project_manifest .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.save_project_manifest :parser: myst .. py:method:: get_asset_record(project: str, spec_hash: str) -> extended_data.containers.ExtendedDict | None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.get_asset_record .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.get_asset_record :parser: myst .. py:method:: upsert_asset_record(project: str, asset_manifest: vendor_fabric.meshy.persistence.schemas.AssetManifest) -> None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.upsert_asset_record .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.upsert_asset_record :parser: myst .. py:method:: record_task_update(project: str, spec_hash: str, task_id: str, status: str, service: str | None = None, payload: dict[str, typing.Any] | None = None, result_paths: dict[str, str] | None = None, artifacts: list[vendor_fabric.meshy.persistence.schemas.ArtifactRecord] | None = None, source: str = 'orchestrator', error: str | None = None) -> None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.record_task_update .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.record_task_update :parser: myst .. py:method:: list_pending_assets(project: str) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.list_pending_assets .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.list_pending_assets :parser: myst .. py:method:: find_task_by_id(task_id: str, project: str | None = None) -> extended_data.containers.ExtendedDict | None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.find_task_by_id .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.find_task_by_id :parser: myst .. py:method:: compute_spec_hash(spec: dict[str, typing.Any]) -> str :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.compute_spec_hash .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.compute_spec_hash :parser: myst .. py:method:: record_task_submission(submission: vendor_fabric.meshy.persistence.schemas.TaskSubmission) -> None :canonical: vendor_fabric.meshy.persistence.repository.TaskRepository.record_task_submission .. autodoc2-docstring:: vendor_fabric.meshy.persistence.repository.TaskRepository.record_task_submission :parser: myst