Dagger
Search

inlinePython

No long description provided.

Installation

dagger install github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095

Entrypoint

Return Type
InlinePython
Example
dagger -m github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095 call \
func (m *myModule) example() *InlinePython  {
	return dag.
			InlinePython()
}
@function
def example() -> dag.InlinePython:
	return (
		dag.inline_python()
	)
@func()
example(): InlinePython {
	return dag
		.inlinePython()
}

Types

InlinePython 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095 call \
 ctr
func (m *myModule) example()   {
	return dag.
			InlinePython().
			Ctr()
}
@function
def example() -> :
	return (
		dag.inline_python()
		.ctr()
	)
@func()
example():  {
	return dag
		.inlinePython()
		.ctr()
}

withPackage() 🔗

Return Type
InlinePython !
Arguments
NameTypeDefault ValueDescription
nameStringKind !-No description provided
Example
dagger -m github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095 call \
 with-package
func (m *myModule) example(name )   {
	return dag.
			InlinePython().
			WithPackage(name)
}
@function
def example(name: ) -> :
	return (
		dag.inline_python()
		.with_package(name)
	)
@func()
example(name: ):  {
	return dag
		.inlinePython()
		.withPackage(name)
}

withPackages() 🔗

Return Type
InlinePython !
Arguments
NameTypeDefault ValueDescription
packages[StringKind ! ] !-No description provided
Example
dagger -m github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095 call \
 with-packages
func (m *myModule) example(packages )   {
	return dag.
			InlinePython().
			WithPackages(packages)
}
@function
def example(packages: ) -> :
	return (
		dag.inline_python()
		.with_packages(packages)
	)
@func()
example(packages: ):  {
	return dag
		.inlinePython()
		.withPackages(packages)
}

code() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
codeStringKind !-No description provided
Example
dagger -m github.com/samalba/inline-python-mod@be4e7f66c02e4735ee88013c196a16b697c6e095 call \
 code
func (m *myModule) example(code )   {
	return dag.
			InlinePython().
			Code(code)
}
@function
def example(code: ) -> :
	return (
		dag.inline_python()
		.code(code)
	)
@func()
example(code: ):  {
	return dag
		.inlinePython()
		.code(code)
}