Container for executing the Python module runtime
( ctx context.Context, modSource *dagger.ModuleSource, introspectionJSON *dagger.File, )
| 175 | |
| 176 | // Container for executing the Python module runtime |
| 177 | func (m *PythonSdk) ModuleRuntime( |
| 178 | ctx context.Context, |
| 179 | modSource *dagger.ModuleSource, |
| 180 | introspectionJSON *dagger.File, |
| 181 | ) (*dagger.Container, error) { |
| 182 | runtime, err := m.Common(ctx, modSource, introspectionJSON) |
| 183 | if err != nil { |
| 184 | return nil, err |
| 185 | } |
| 186 | runtime = runtime.WithInstall() |
| 187 | ctr := runtime.Container |
| 188 | if runtime.Debug { |
| 189 | ctr = ctr.Terminal() |
| 190 | } |
| 191 | return ctr, nil |
| 192 | } |
| 193 | |
| 194 | // Container for executing the Python module runtime |
| 195 | func (m *PythonSdk) ModuleTypesExp( |
no test coverage detected