{ "module": "hexa.container", "content": { "path": "hexa.container", "docstring": "Container to build a wired hexa pipeline from annotations.", "objects": { "annotations": { "name": "annotations", "kind": "alias", "path": "hexa.container.annotations", "signature": "", "docstring": null }, "inspect": { "name": "inspect", "kind": "alias", "path": "hexa.container.inspect", "signature": "", "docstring": null }, "UnionType": { "name": "UnionType", "kind": "alias", "path": "hexa.container.UnionType", "signature": "", "docstring": null }, "Any": { "name": "Any", "kind": "alias", "path": "hexa.container.Any", "signature": "", "docstring": null }, "TypeVar": { "name": "TypeVar", "kind": "alias", "path": "hexa.container.TypeVar", "signature": "", "docstring": null }, "T": { "name": "T", "kind": "attribute", "path": "hexa.container.T", "signature": null, "docstring": null }, "build": { "name": "build", "kind": "function", "path": "hexa.container.build", "signature": "", "docstring": "Recursively instantiate the port tree from annotations.\n\nParameters\n----------\ncls : type\n The root class to build (e.g. ``AxisExtractionPipeline``).\ninstances : dict, optional\n ``{slot_name: object}`` injected verbatim into every node whose\n annotations contain that name (runtime values — repos, handlers,\n clients — that must not be re-constructed). Applied to the whole\n tree by name.\nconfig : dict, optional\n ``{field_name: value}`` propagated by name to every node's annotated\n config fields (non-port attributes), replacing the default ``None``.\n\nReturns\n-------\ninstance\n A fully wired instance of ``cls`` and all its nested ports." } } } }