ext-python-sdk
No long description provided.
Installation
dagger install github.com/marcosnils/dagger/core/integration/testdata/modules/python/extended@69340855283900ae538898e000d16546018f3387Entrypoint
Return Type
ExtPythonSdk ! Example
dagger -m github.com/marcosnils/dagger/core/integration/testdata/modules/python/extended@69340855283900ae538898e000d16546018f3387 call \
func (m *MyModule) Example() *dagger.ExtPythonSdk {
return dag.
Extpythonsdk()
}@function
def example() -> dagger.ExtPythonSdk:
return (
dag.ext_python_sdk()
)@func()
example(): ExtPythonSdk {
return dag
.extPythonSdk()
}Types
ExtPythonSdk 🔗
codegen() 🔗
Return Type
GeneratedCode !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| modSource | ModuleSource ! | - | The source needed to load and run a module, along with any metadata about the source such as versions/urls/etc. |
| introspectionJson | File ! | - | A file. |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson *dagger.File) *dagger.GeneratedCode {
return dag.
Extpythonsdk().
Codegen(modSource, introspectionJson)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File) -> dagger.GeneratedCode:
return (
dag.ext_python_sdk()
.codegen(modsource, introspectionjson)
)@func()
example(modSource: ModuleSource, introspectionJson: File): GeneratedCode {
return dag
.extPythonSdk()
.codegen(modSource, introspectionJson)
}moduleDefs() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| modSource | ModuleSource ! | - | The source needed to load and run a module, along with any metadata about the source such as versions/urls/etc. |
| introspectionJson | File ! | - | A file. |
| outputFilePath | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson *dagger.File, outputFilePath string) *dagger.Container {
return dag.
Extpythonsdk().
Moduledefs(modSource, introspectionJson, outputFilePath)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File, outputfilepath: str) -> dagger.Container:
return (
dag.ext_python_sdk()
.moduledefs(modsource, introspectionjson, outputfilepath)
)@func()
example(modSource: ModuleSource, introspectionJson: File, outputFilePath: string): Container {
return dag
.extPythonSdk()
.moduleDefs(modSource, introspectionJson, outputFilePath)
}moduleRuntime() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| modSource | ModuleSource ! | - | The source needed to load and run a module, along with any metadata about the source such as versions/urls/etc. |
| introspectionJson | File ! | - | A file. |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson *dagger.File) *dagger.Container {
return dag.
Extpythonsdk().
Moduleruntime(modSource, introspectionJson)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File) -> dagger.Container:
return (
dag.ext_python_sdk()
.moduleruntime(modsource, introspectionjson)
)@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
return dag
.extPythonSdk()
.moduleRuntime(modSource, introspectionJson)
}