inline-python
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/essentials/inline-python@v0.0.0Entrypoint
Return Type
InlinePython !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | "3" | Python version to use |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-python@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
func (m *MyModule) Example() *dagger.InlinePython {
return dag.
InlinePython()
}@function
def example() -> dagger.InlinePython:
return (
dag.inline_python()
)@func()
example(): InlinePython {
return dag
.inlinePython()
}Types
InlinePython 🔗
ctr() 🔗
Return Type
Container ! Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-python@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
ctrfunc (m *MyModule) Example() *dagger.Container {
return dag.
InlinePython().
Ctr()
}@function
def example() -> dagger.Container:
return (
dag.inline_python()
.ctr()
)@func()
example(): Container {
return dag
.inlinePython()
.ctr()
}withPackage() 🔗
fixme: add usage
Return Type
InlinePython !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-python@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
with-package --name stringfunc (m *MyModule) Example(name string) *dagger.InlinePython {
return dag.
InlinePython().
WithPackage(name)
}@function
def example(name: str) -> dagger.InlinePython:
return (
dag.inline_python()
.with_package(name)
)@func()
example(name: string): InlinePython {
return dag
.inlinePython()
.withPackage(name)
}withPackages() 🔗
fixme: add usage
Return Type
InlinePython !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| packages | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-python@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
with-packages --packages string1 --packages string2func (m *MyModule) Example(packages []string) *dagger.InlinePython {
return dag.
InlinePython().
WithPackages(packages)
}@function
def example(packages: List[str]) -> dagger.InlinePython:
return (
dag.inline_python()
.with_packages(packages)
)@func()
example(packages: string[]): InlinePython {
return dag
.inlinePython()
.withPackages(packages)
}code() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| code | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-python@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
code --code stringfunc (m *MyModule) Example(code string) *dagger.Container {
return dag.
InlinePython().
Code(code)
}@function
def example(code: str) -> dagger.Container:
return (
dag.inline_python()
.code(code)
)@func()
example(code: string): Container {
return dag
.inlinePython()
.code(code)
}