Dagger Python SDK
A client package for running Dagger pipelines.
Tip
New to Dagger? Learn how it works and start using it.
- Connection
- Client
BuildArg
CacheSharingMode
CacheVolume
CacheVolumeID
Client
Client.blob()
Client.builtin_container()
Client.cache_volume()
Client.container()
Client.current_function_call()
Client.current_module()
Client.current_type_defs()
Client.default_platform()
Client.directory()
Client.engine()
Client.error()
Client.function()
Client.generated_code()
Client.git()
Client.host()
Client.http()
Client.load_cache_volume_from_id()
Client.load_container_from_id()
Client.load_current_module_from_id()
Client.load_directory_from_id()
Client.load_engine_cache_entry_from_id()
Client.load_engine_cache_entry_set_from_id()
Client.load_engine_cache_from_id()
Client.load_engine_from_id()
Client.load_enum_type_def_from_id()
Client.load_enum_value_type_def_from_id()
Client.load_env_variable_from_id()
Client.load_error_from_id()
Client.load_field_type_def_from_id()
Client.load_file_from_id()
Client.load_function_arg_from_id()
Client.load_function_call_arg_value_from_id()
Client.load_function_call_from_id()
Client.load_function_from_id()
Client.load_generated_code_from_id()
Client.load_git_module_source_from_id()
Client.load_git_ref_from_id()
Client.load_git_repository_from_id()
Client.load_host_from_id()
Client.load_input_type_def_from_id()
Client.load_interface_type_def_from_id()
Client.load_label_from_id()
Client.load_list_type_def_from_id()
Client.load_local_module_source_from_id()
Client.load_module_dependency_from_id()
Client.load_module_from_id()
Client.load_module_source_from_id()
Client.load_module_source_view_from_id()
Client.load_object_type_def_from_id()
Client.load_port_from_id()
Client.load_scalar_type_def_from_id()
Client.load_secret_from_id()
Client.load_service_from_id()
Client.load_socket_from_id()
Client.load_source_map_from_id()
Client.load_terminal_from_id()
Client.load_type_def_from_id()
Client.module()
Client.module_dependency()
Client.module_source()
Client.secret()
Client.set_secret()
Client.source_map()
Client.type_def()
Client.version()
Container
Container.as_service()
Container.as_tarball()
Container.build()
Container.default_args()
Container.directory()
Container.entrypoint()
Container.env_variable()
Container.env_variables()
Container.exit_code()
Container.experimental_with_all_gp_us()
Container.experimental_with_gpu()
Container.export()
Container.exposed_ports()
Container.file()
Container.from_()
Container.id()
Container.image_ref()
Container.import_()
Container.label()
Container.labels()
Container.mounts()
Container.platform()
Container.publish()
Container.rootfs()
Container.stderr()
Container.stdout()
Container.sync()
Container.terminal()
Container.up()
Container.user()
Container.with_()
Container.with_annotation()
Container.with_default_args()
Container.with_default_terminal_cmd()
Container.with_directory()
Container.with_entrypoint()
Container.with_env_variable()
Container.with_exec()
Container.with_exposed_port()
Container.with_file()
Container.with_files()
Container.with_label()
Container.with_mounted_cache()
Container.with_mounted_directory()
Container.with_mounted_file()
Container.with_mounted_secret()
Container.with_mounted_temp()
Container.with_new_file()
Container.with_registry_auth()
Container.with_rootfs()
Container.with_secret_variable()
Container.with_service_binding()
Container.with_unix_socket()
Container.with_user()
Container.with_workdir()
Container.without_annotation()
Container.without_default_args()
Container.without_directory()
Container.without_entrypoint()
Container.without_env_variable()
Container.without_exposed_port()
Container.without_file()
Container.without_files()
Container.without_label()
Container.without_mount()
Container.without_registry_auth()
Container.without_secret_variable()
Container.without_unix_socket()
Container.without_user()
Container.without_workdir()
Container.workdir()
ContainerID
CurrentModule
CurrentModuleID
Directory
Directory.as_module()
Directory.diff()
Directory.digest()
Directory.directory()
Directory.docker_build()
Directory.entries()
Directory.export()
Directory.file()
Directory.glob()
Directory.id()
Directory.sync()
Directory.terminal()
Directory.with_()
Directory.with_directory()
Directory.with_file()
Directory.with_files()
Directory.with_new_directory()
Directory.with_new_file()
Directory.with_timestamps()
Directory.without_directory()
Directory.without_file()
Directory.without_files()
DirectoryID
Engine
EngineCache
EngineCacheEntry
EngineCacheEntryID
EngineCacheEntrySet
EngineCacheEntrySetID
EngineCacheID
EngineID
EnumTypeDef
EnumTypeDefID
EnumValueTypeDef
EnumValueTypeDefID
EnvVariable
EnvVariableID
Error
ErrorID
FieldTypeDef
FieldTypeDefID
File
FileID
Function
FunctionArg
FunctionArgID
FunctionCall
FunctionCallArgValue
FunctionCallArgValueID
FunctionCallID
FunctionID
GeneratedCode
GeneratedCodeID
GitModuleSource
GitModuleSourceID
GitRef
GitRefID
GitRepository
GitRepositoryID
Host
HostID
ImageLayerCompression
ImageMediaTypes
InputTypeDef
InputTypeDefID
InterfaceTypeDef
InterfaceTypeDefID
JSON
Label
LabelID
ListTypeDef
ListTypeDefID
LocalModuleSource
LocalModuleSourceID
Module
Module.dependencies()
Module.dependency_config()
Module.description()
Module.enums()
Module.generated_context_diff()
Module.generated_context_directory()
Module.id()
Module.initialize()
Module.interfaces()
Module.name()
Module.objects()
Module.runtime()
Module.sdk()
Module.serve()
Module.source()
Module.with_()
Module.with_description()
Module.with_enum()
Module.with_interface()
Module.with_object()
Module.with_source()
ModuleDependency
ModuleDependencyID
ModuleID
ModuleSource
ModuleSource.as_git_source()
ModuleSource.as_local_source()
ModuleSource.as_module()
ModuleSource.as_string()
ModuleSource.config_exists()
ModuleSource.context_directory()
ModuleSource.dependencies()
ModuleSource.digest()
ModuleSource.directory()
ModuleSource.id()
ModuleSource.kind()
ModuleSource.module_name()
ModuleSource.module_original_name()
ModuleSource.pin()
ModuleSource.resolve_context_path_from_caller()
ModuleSource.resolve_dependency()
ModuleSource.resolve_directory_from_caller()
ModuleSource.resolve_from_caller()
ModuleSource.source_root_subpath()
ModuleSource.source_subpath()
ModuleSource.view()
ModuleSource.views()
ModuleSource.with_()
ModuleSource.with_context_directory()
ModuleSource.with_dependencies()
ModuleSource.with_init()
ModuleSource.with_name()
ModuleSource.with_sdk()
ModuleSource.with_source_subpath()
ModuleSource.with_view()
ModuleSource.without_dependencies()
ModuleSourceID
ModuleSourceKind
ModuleSourceView
ModuleSourceViewID
NetworkProtocol
ObjectTypeDef
ObjectTypeDefID
PipelineLabel
Platform
Port
PortForward
PortID
ReturnType
ScalarTypeDef
ScalarTypeDefID
Secret
SecretID
Service
ServiceID
Socket
SocketID
SourceMap
SourceMapID
Terminal
TerminalID
TypeDef
TypeDef.as_enum()
TypeDef.as_input()
TypeDef.as_interface()
TypeDef.as_list()
TypeDef.as_object()
TypeDef.as_scalar()
TypeDef.id()
TypeDef.kind()
TypeDef.optional()
TypeDef.with_()
TypeDef.with_constructor()
TypeDef.with_enum()
TypeDef.with_enum_value()
TypeDef.with_field()
TypeDef.with_function()
TypeDef.with_interface()
TypeDef.with_kind()
TypeDef.with_list_of()
TypeDef.with_object()
TypeDef.with_optional()
TypeDef.with_scalar()
TypeDefID
TypeDefKind
Void
- Exceptions
- Module