Dagger
Search

python-sdk

No long description provided.

Installation

dagger install github.com/dagger/dagger/sdk/python/runtime@6a72a0951500599e8c406a71ac92fabf1019e35b

Entrypoint

Return Type
PythonSdk
Example
func (m *myModule) example() *PythonSdk  {
	return dag.
			PythonSdk()
}
@function
def example() -> dag.PythonSdk:
	return (
		dag.python_sdk()
	)
@func()
example(): PythonSdk {
	return dag
		.pythonSdk()
}

Types

PythonSdk

moduleRuntime()

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceDirectory !-No description provided
subPathStringKind !-No description provided
Example
Function PythonSdk.moduleRuntime is not accessible from the python-sdk module
func (m *myModule) example(modSource , subPath )   {
	return dag.
			PythonSdk().
			ModuleRuntime(modSource, subPath)
}
@function
def example(mod_source: , sub_path: ) -> :
	return (
		dag.python_sdk()
		.module_runtime(mod_source, sub_path)
	)
@func()
example(modSource: , subPath: ):  {
	return dag
		.pythonSdk()
		.moduleRuntime(modSource, subPath)
}

codegen()

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceDirectory !-No description provided
subPathStringKind !-No description provided
Example
Function PythonSdk.codegen is not accessible from the python-sdk module
func (m *myModule) example(modSource , subPath )   {
	return dag.
			PythonSdk().
			Codegen(modSource, subPath)
}
@function
def example(mod_source: , sub_path: ) -> :
	return (
		dag.python_sdk()
		.codegen(mod_source, sub_path)
	)
@func()
example(modSource: , subPath: ):  {
	return dag
		.pythonSdk()
		.codegen(modSource, subPath)
}

codegenBase()

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceDirectory !-No description provided
subPathStringKind !-No description provided
Example
Function PythonSdk.codegenBase is not accessible from the python-sdk module
func (m *myModule) example(modSource , subPath )   {
	return dag.
			PythonSdk().
			CodegenBase(modSource, subPath)
}
@function
def example(mod_source: , sub_path: ) -> :
	return (
		dag.python_sdk()
		.codegen_base(mod_source, sub_path)
	)
@func()
example(modSource: , subPath: ):  {
	return dag
		.pythonSdk()
		.codegenBase(modSource, subPath)
}

base()

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
versionStringKind !-No description provided
Example
Function PythonSdk.base is not accessible from the python-sdk module
func (m *myModule) example(version )   {
	return dag.
			PythonSdk().
			Base(version)
}
@function
def example(version: ) -> :
	return (
		dag.python_sdk()
		.base(version)
	)
@func()
example(version: ):  {
	return dag
		.pythonSdk()
		.base(version)
}