Skip to main content
Returns a handle to a local Truss: a build context that can be built into a container locally or deployed to Baseten. Parameters:
NameTypeDescription
truss_directoryUnion[str, pathlib.Path]The local directory of an existing Truss
config_pathOptional[pathlib.Path]Optional path to a config file. If not provided, defaults to config.yaml in the truss directory.