ext-python-sdk
No long description provided.
Installation
dagger install github.com/samalba/dagger/core/integration/testdata/modules/python/extended@8dea12b55c71851c068ef4a99dcc9ebffd7dafa7Entrypoint
Return Type
ExtPythonSdk !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| requiredPaths | [String ! ] | - | No description provided | 
Example
dagger -m github.com/samalba/dagger/core/integration/testdata/modules/python/extended@8dea12b55c71851c068ef4a99dcc9ebffd7dafa7 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 🔗
requiredPaths() 🔗
Return Type
[String ! ] !Example
dagger -m github.com/samalba/dagger/core/integration/testdata/modules/python/extended@8dea12b55c71851c068ef4a99dcc9ebffd7dafa7 call \
 required-pathsfunc (m *MyModule) Example(ctx context.Context) []string  {
	return dag.
			ExtPythonSdk().
			RequiredPaths(ctx)
}@function
async def example() -> List[str]:
	return await (
		dag.ext_python_sdk()
		.required_paths()
	)@func()
async example(): Promise<string[]> {
	return dag
		.extPythonSdk()
		.requiredPaths()
}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 | String ! | - | No description provided | 
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson string) *dagger.GeneratedCode  {
	return dag.
			ExtPythonSdk().
			Codegen(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: str) -> dagger.GeneratedCode:
	return (
		dag.ext_python_sdk()
		.codegen(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
	return dag
		.extPythonSdk()
		.codegen(modSource, introspectionJson)
}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 | String ! | - | No description provided | 
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson string) *dagger.Container  {
	return dag.
			ExtPythonSdk().
			ModuleRuntime(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.ext_python_sdk()
		.module_runtime(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.extPythonSdk()
		.moduleRuntime(modSource, introspectionJson)
}