Dagger
Search

inlinePython

No long description provided.

Installation

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

Entrypoint

Return Type
InlinePython
Example
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
Function InlinePython.Ctr is not accessible from the inlinePython module
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
Function InlinePython.withPackage is not accessible from the inlinePython module
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
Function InlinePython.withPackages is not accessible from the inlinePython module
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
Function InlinePython.code is not accessible from the inlinePython module
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)
}