ext-python-sdk
No long description provided.
Installation
dagger install github.com/franela/dagger/core/integration/testdata/modules/python/extended@717788d820fed40deeb8f8476e21627352926bfc
Entrypoint
Return Type
ExtPythonSdk !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
requiredPaths | [String ! ] | - | No description provided |
Example
func (m *myModule) example() *ExtPythonSdk {
return dag.
ExtPythonSdk()
}
Types
ExtPythonSdk 🔗
requiredPaths() 🔗
Return Type
[String ! ] !
Example
func (m *myModule) example(ctx context.Context) []string {
return dag.
ExtPythonSdk().
RequiredPaths(ctx)
}
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
func (m *myModule) example(modSource *ModuleSource, introspectionJson *File) *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 | File ! | - | A file. |
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson *File) *Container {
return dag.
ExtPythonSdk().
ModuleRuntime(modSource, introspectionJson)
}