MCPcopy Create free account
hub / github.com/dagger/dagger / unstructure

Method unstructure

sdk/python/src/dagger/mod/_module.py:470–472  ·  view source on GitHub ↗

Convert a result to primitive values.

(self, obj: Any, unstructure_as: Any)

Source from the content-addressed store, hash-verified

468 return await asyncify(self._converter.structure, obj, cl)
469
470 async def unstructure(self, obj: Any, unstructure_as: Any) -> Awaitable[Any]:
471 """Convert a result to primitive values."""
472 return await asyncify(self._converter.unstructure, obj, unstructure_as)
473
474 def get_object(self, name: str) -> ObjectType:
475 """Get the object type definition for the given name."""

Callers 3

get_resultMethod · 0.95
selectMethod · 0.80
test_enum_unstructureFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_enum_unstructureFunction · 0.64