Dagger
Search

uv

No long description provided.

Installation

dagger install github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa

Entrypoint

Return Type
Uv !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Source directory.
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
func (m *MyModule) Example() *dagger.Uv  {
	return dag.
			Uv()
}
@function
def example() -> dagger.Uv:
	return (
		dag.uv()
	)
@func()
example(): Uv {
	return dag
		.uv()
}

Types

Audit 🔗

Runs ``uv audit`` for a single workspace in a given uv image.

uvLock() 🔗

The workspace’s uv.lock file.

Return Type
File !
Example
Function UvAudit.uvLock is not accessible from the uv module
Function UvAudit.uvLock is not accessible from the uv module
Function UvAudit.uvLock is not accessible from the uv module
Function UvAudit.uvLock is not accessible from the uv module

pyproject() 🔗

The workspace’s pyproject.toml file.

Return Type
File !
Example
Function UvAudit.pyproject is not accessible from the uv module
Function UvAudit.pyproject is not accessible from the uv module
Function UvAudit.pyproject is not accessible from the uv module
Function UvAudit.pyproject is not accessible from the uv module

image() 🔗

uv image reference to run the audit in (must provide a uv binary).

Return Type
String !
Example
Function UvAudit.image is not accessible from the uv module
Function UvAudit.image is not accessible from the uv module
Function UvAudit.image is not accessible from the uv module
Function UvAudit.image is not accessible from the uv module

uvToml() 🔗

The workspace’s uv.toml configuration file, if present.

Return Type
File 
Example
Function UvAudit.uvToml is not accessible from the uv module
Function UvAudit.uvToml is not accessible from the uv module
Function UvAudit.uvToml is not accessible from the uv module
Function UvAudit.uvToml is not accessible from the uv module

run() 🔗

Run uv audit --frozen for this workspace.

Audits straight from the committed uv.lock without re-resolving against package indexes (--frozen); vulnerability data comes from the public OSV service, so no index credentials are required. A failing audit (non-zero exit, e.g. vulnerabilities found) raises dagger.ExecError, whose stdout/stderr carry uv’s report; the runner folds that into the trace error (see Uv.audit).

Return Type
Void !
Example
Function UvAudit.run is not accessible from the uv module
Function UvAudit.run is not accessible from the uv module
Function UvAudit.run is not accessible from the uv module
Function UvAudit.run is not accessible from the uv module

LocalPackage 🔗

A local (editable/directory) package in a uv workspace.

name() 🔗

Package name

Return Type
String !
Example
Function UvLocalPackage.name is not accessible from the uv module
Function UvLocalPackage.name is not accessible from the uv module
Function UvLocalPackage.name is not accessible from the uv module
Function UvLocalPackage.name is not accessible from the uv module

path() 🔗

Workspace-relative path

Return Type
String !
Example
Function UvLocalPackage.path is not accessible from the uv module
Function UvLocalPackage.path is not accessible from the uv module
Function UvLocalPackage.path is not accessible from the uv module
Function UvLocalPackage.path is not accessible from the uv module

module() 🔗

Python module name

Return Type
String !
Example
Function UvLocalPackage.module is not accessible from the uv module
Function UvLocalPackage.module is not accessible from the uv module
Function UvLocalPackage.module is not accessible from the uv module
Function UvLocalPackage.module is not accessible from the uv module

flat() 🔗

Flat layout (module at package root) vs src layout (module under src/)

Return Type
Boolean !
Example
Function UvLocalPackage.flat is not accessible from the uv module
Function UvLocalPackage.flat is not accessible from the uv module
Function UvLocalPackage.flat is not accessible from the uv module
Function UvLocalPackage.flat is not accessible from the uv module

SyncPlan 🔗

Resolved build configuration for a uv workspace sync.

wsDir() 🔗

Resolved workspace directory (with codegen overlay if applicable)

Return Type
Directory !
Example
Function UvSyncPlan.wsDir is not accessible from the uv module
Function UvSyncPlan.wsDir is not accessible from the uv module
Function UvSyncPlan.wsDir is not accessible from the uv module
Function UvSyncPlan.wsDir is not accessible from the uv module

allLocal() 🔗

Every local package in the workspace (sorted by name)

Return Type
[LocalPackage ! ] !
Example
Function UvSyncPlan.allLocal is not accessible from the uv module
Function UvSyncPlan.allLocal is not accessible from the uv module
Function UvSyncPlan.allLocal is not accessible from the uv module
Function UvSyncPlan.allLocal is not accessible from the uv module

neededLocal() 🔗

Local packages the target transitively depends on (sorted by name)

Return Type
[LocalPackage ! ] !
Example
Function UvSyncPlan.neededLocal is not accessible from the uv module
Function UvSyncPlan.neededLocal is not accessible from the uv module
Function UvSyncPlan.neededLocal is not accessible from the uv module
Function UvSyncPlan.neededLocal is not accessible from the uv module

flatPackage() 🔗

Whether the target package uses a flat layout (no build-system)

Return Type
Boolean !
Example
Function UvSyncPlan.flatPackage is not accessible from the uv module
Function UvSyncPlan.flatPackage is not accessible from the uv module
Function UvSyncPlan.flatPackage is not accessible from the uv module
Function UvSyncPlan.flatPackage is not accessible from the uv module

package() 🔗

Target package name (None means all packages)

Return Type
String 
Example
Function UvSyncPlan.package is not accessible from the uv module
Function UvSyncPlan.package is not accessible from the uv module
Function UvSyncPlan.package is not accessible from the uv module
Function UvSyncPlan.package is not accessible from the uv module

uvSyncArgs() 🔗

Precomputed uv sync argv

Return Type
[String ! ] !
Example
Function UvSyncPlan.uvSyncArgs is not accessible from the uv module
Function UvSyncPlan.uvSyncArgs is not accessible from the uv module
Function UvSyncPlan.uvSyncArgs is not accessible from the uv module
Function UvSyncPlan.uvSyncArgs is not accessible from the uv module

RemoteBuild 🔗

Container with remote deps installed; chain with_workspace_files then with_local_dependencies.

container() 🔗

Container with remote deps installed

Return Type
Container !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 container
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.Container  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			Container()
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.Container:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.container()
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): Container {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.container()
}

plan() 🔗

Build configuration carried through the pipeline

Return Type
SyncPlan !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 plan
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.UvSyncPlan  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			Plan()
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.UvSyncPlan:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.plan()
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): UvSyncPlan {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.plan()
}

withAllWorkspaceMembers() 🔗

Like with_workspace_files but scaffolds every local package, not just transitive deps.

Return Type
RemoteBuild !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 with-all-workspace-members
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.UvRemoteBuild  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			WithAllWorkspaceMembers()
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.UvRemoteBuild:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.with_all_workspace_members()
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): UvRemoteBuild {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.withAllWorkspaceMembers()
}

withContainer() 🔗

Return a new UvRemoteBuild with a different container but the same plan.

Return Type
RemoteBuild !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Replacement container (e.g. after installing non-Python packages)
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 with-container --container IMAGE:TAG
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool, container *dagger.Container) *dagger.UvRemoteBuild  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			WithContainer(container)
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool, container: dagger.Container) -> dagger.UvRemoteBuild:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.with_container(container)
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean, container: Container): UvRemoteBuild {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.withContainer(container)
}

withLocalDependencies() 🔗

Copy real source, run final uv sync, and strip the build-time cache mount.

Return Type
Container !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 with-local-dependencies
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.Container  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			WithLocalDependencies()
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.Container:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.with_local_dependencies()
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): Container {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.withLocalDependencies()
}

withWorkspaceFiles() 🔗

Scaffold needed local package stubs (pyproject.toml + empty src/) into the container.

Return Type
RemoteBuild !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean \
 with-workspace-files
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.UvRemoteBuild  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install).
			WithWorkspaceFiles()
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.UvRemoteBuild:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
		.with_workspace_files()
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): UvRemoteBuild {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
		.withWorkspaceFiles()
}

WorkspaceSource 🔗

A self-contained uv workspace: the source files rooted at a ``uv.lock``. Currently carries the lockfile and the ``pyproject.toml`` that ``uv audit`` requires alongside it; it will carry more of the workspace in the future. Named ``UvWorkspaceSource`` (not ``UvWorkspace``) to avoid colliding with the sibling ``uv-workspace`` module's main ``UvWorkspace`` object when both are composed in a parent module.

uvLock() 🔗

The workspace’s uv.lock file.

Return Type
File !
Example
Function UvWorkspaceSource.uvLock is not accessible from the uv module
Function UvWorkspaceSource.uvLock is not accessible from the uv module
Function UvWorkspaceSource.uvLock is not accessible from the uv module
Function UvWorkspaceSource.uvLock is not accessible from the uv module

pyproject() 🔗

The workspace’s pyproject.toml file (required by uv audit).

Return Type
File !
Example
Function UvWorkspaceSource.pyproject is not accessible from the uv module
Function UvWorkspaceSource.pyproject is not accessible from the uv module
Function UvWorkspaceSource.pyproject is not accessible from the uv module
Function UvWorkspaceSource.pyproject is not accessible from the uv module

uvToml() 🔗

The workspace’s uv.toml configuration file, if present.

Return Type
File 
Example
Function UvWorkspaceSource.uvToml is not accessible from the uv module
Function UvWorkspaceSource.uvToml is not accessible from the uv module
Function UvWorkspaceSource.uvToml is not accessible from the uv module
Function UvWorkspaceSource.uvToml is not accessible from the uv module

audit() 🔗

Audit this workspace’s locked dependencies using the given uv image.

The image is supplied by the caller so this type stays container-free (the runner owns image/version selection).

Return Type
Audit !
Arguments
NameTypeDefault ValueDescription
imageString !-uv image reference to run the audit in.
Example
Function UvWorkspaceSource.audit is not accessible from the uv module
Function UvWorkspaceSource.audit is not accessible from the uv module
Function UvWorkspaceSource.audit is not accessible from the uv module
Function UvWorkspaceSource.audit is not accessible from the uv module

uvVersion() 🔗

The uv version this workspace requires, as a concrete image tag.

Reads required-version (a PEP 440 specifier) from uv.toml or the [tool.uv] table of pyproject.toml. Exact pins are used as-is; ranges resolve to their minimal compatible version (no PyPI lookup). Falls back to the default latest tag when unspecified.

Return Type
String !
Example
Function UvWorkspaceSource.uvVersion is not accessible from the uv module
Function UvWorkspaceSource.uvVersion is not accessible from the uv module
Function UvWorkspaceSource.uvVersion is not accessible from the uv module
Function UvWorkspaceSource.uvVersion is not accessible from the uv module

Uv 🔗

Tooling for uv-managed Python projects.

source() 🔗

Source directory.

Return Type
Directory !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 source
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Uv().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.uv()
		.source()
	)
@func()
example(): Directory {
	return dag
		.uv()
		.source()
}

audit() 🔗

Run uv audit for every workspace in parallel.

Exits non-zero when any (non-excluded) workspace fails its audit.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
exclude[String ! ] nullGlob patterns (source-relative) of workspace paths to skip, e.g. `**/tests/_packages/**`.
uvVersionString nulluv version (image tag) to run with. Defaults to the version detected per workspace; ignored when `image` is set.
imageString nullFull uv image reference to run with. Overrides `uv_version`.
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 audit
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			Uv().
			Audit(ctx)
}
@function
async def example() -> None:
	return await (
		dag.uv()
		.audit()
	)
@func()
async example(): Promise<void> {
	return dag
		.uv()
		.audit()
}

auditWorkspace() 🔗

Run uv audit for a single workspace.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
uvLockFile !-The workspace's uv.lock file.
pyprojectFile !-The workspace's pyproject.toml file.
uvTomlFile nullThe workspace's uv.toml configuration file, if present.
uvVersionString nulluv version (image tag) to run with. Defaults to the version detected from the workspace; ignored when `image` is set.
imageString nullFull uv image reference to run with. Overrides `uv_version`.
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 audit-workspace --uv-lock file:path --pyproject file:path
func (m *MyModule) Example(ctx context.Context, uvLock *dagger.File, pyproject *dagger.File)   {
	return dag.
			Uv().
			AuditWorkspace(ctx, uvLock, pyproject)
}
@function
async def example(uv_lock: dagger.File, pyproject: dagger.File) -> None:
	return await (
		dag.uv()
		.audit_workspace(uv_lock, pyproject)
	)
@func()
async example(uvLock: File, pyproject: File): Promise<void> {
	return dag
		.uv()
		.auditWorkspace(uvLock, pyproject)
}

build() 🔗

Build a minimal container with deps installed for the given package.

Convenience method composing with_remote_dependencies, with_workspace_files, and with_local_dependencies. For fine-grained control (e.g. running pulumi install between remote deps and local source), call them individually.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
baseContainerContainer !-Pre-configured container (with auth, system packages, etc.) to build on.
workspacePathString !"."Path to the workspace root (holding uv.lock and pyproject.toml) within the source directory.
packageString nullNo description provided
extra[String ! ] nullNo description provided
group[String ! ] nullNo description provided
allExtrasBoolean !falseInstall every extra; maps to `uv sync --all-extras`
allGroupsBoolean !falseInstall every dependency group; maps to `uv sync --all-groups`
allPackagesBoolean !falseInstall every workspace member; maps to `uv sync --all-packages`
daggerCodegenBoolean !trueIf True (default), and the package being built has a `dagger.json`, run Dagger codegen and overlay the generated SDK before `uv sync`. No-op for non-Dagger projects.
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 build --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool) *dagger.Container  {
	return dag.
			Uv().
			Build(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen)
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool) -> dagger.Container:
	return (
		dag.uv()
		.build(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen)
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean): Container {
	return dag
		.uv()
		.build(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen)
}

withRemoteDependencies() 🔗

Prepare the build plan and (optionally) install remote dependencies.

Copies the root pyproject.toml and uv.lock into the container and, when install is True (the default), runs uv sync --no-install-local. Returns a UvRemoteBuild for the next pipeline steps: with_workspace_files() to scaffold local packages, then with_local_dependencies() to install them.

Return Type
RemoteBuild !
Arguments
NameTypeDefault ValueDescription
baseContainerContainer !-Pre-configured container (with auth, system packages, etc.) to build on.
workspacePathString !"."Path to the workspace root (holding uv.lock and pyproject.toml) within the source directory.
packageString nullNo description provided
extra[String ! ] nullNo description provided
group[String ! ] nullNo description provided
allExtrasBoolean !falseInstall every extra; maps to `uv sync --all-extras`
allGroupsBoolean !falseInstall every dependency group; maps to `uv sync --all-groups`
allPackagesBoolean !falseInstall every workspace member; maps to `uv sync --all-packages`
daggerCodegenBoolean !trueIf True (default), and the package being built has a `dagger.json`, run Dagger codegen and overlay the generated SDK before `uv sync`. No-op for non-Dagger projects.
installBoolean !trueRun `uv sync --no-install-local` to install remote deps. Set to False when another tool (e.g. `pulumi install`) handles dependency installation.
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 with-remote-dependencies --base-container IMAGE:TAG --workspace-path string --all-extras boolean --all-groups boolean --all-packages boolean --dagger-codegen boolean --install boolean
func (m *MyModule) Example(baseContainer *dagger.Container, workspacePath string, allExtras bool, allGroups bool, allPackages bool, daggerCodegen bool, install bool) *dagger.UvRemoteBuild  {
	return dag.
			Uv().
			WithRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
}
@function
def example(base_container: dagger.Container, workspace_path: str, all_extras: bool, all_groups: bool, all_packages: bool, dagger_codegen: bool, install: bool) -> dagger.UvRemoteBuild:
	return (
		dag.uv()
		.with_remote_dependencies(base_container, workspace_path, all_extras, all_groups, all_packages, dagger_codegen, install)
	)
@func()
example(baseContainer: Container, workspacePath: string, allExtras: boolean, allGroups: boolean, allPackages: boolean, daggerCodegen: boolean, install: boolean): UvRemoteBuild {
	return dag
		.uv()
		.withRemoteDependencies(baseContainer, workspacePath, allExtras, allGroups, allPackages, daggerCodegen, install)
}

workspaces() 🔗

Every uv workspace in the source tree (one per uv.lock).

Return Type
[WorkspaceSource ! ] !
Example
dagger -m github.com/typesafe-ai/daggerverse/uv@e17804ee1c9a00956d01e51ad8b9999e8f2f54aa call \
 workspaces
func (m *MyModule) Example() []*dagger.UvWorkspaceSource  {
	return dag.
			Uv().
			Workspaces()
}
@function
def example() -> List[dagger.UvWorkspaceSource]:
	return (
		dag.uv()
		.workspaces()
	)
@func()
example(): UvWorkspaceSource[] {
	return dag
		.uv()
		.workspaces()
}