Dagger
Search

milan

Create an environment with Python project and Poetry available"

Installation

dagger install github.com/jpadams/milan-test@21098743a3b0a037d4df51f4b3209f7f616a56e7

Entrypoint

Return Type
Milan !
Example
func (m *myModule) example() *Milan  {
	return dag.
			Milan()
}
@function
def example() -> dag.Milan:
	return (
		dag.milan()
	)
@func()
example(): Milan {
	return dag
		.milan()
}

Types

Milan 🔗

test() 🔗

Build a Container from a Python project

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
Example
dagger -m github.com/jpadams/milan-test@21098743a3b0a037d4df51f4b3209f7f616a56e7 call \
 test --source DIR_PATH
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			Milan().
			Test(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.milan()
		.test(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.milan()
		.test(source)
}