The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.image_spec.default_builder
| Property |
Type |
Description |
DEFAULT_MICROMAMBA_IMAGE |
str |
|
DEFAULT_UV_IMAGE |
str |
|
def create_docker_context(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
tmp_dir: pathlib._local.Path,
)
Populate tmp_dir with Dockerfile as specified by the image_spec.
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
|
tmp_dir |
pathlib._local.Path |
|
def get_flytekit_for_pypi()
Get flytekit version on PyPI.
def prepare_poetry_lock_command(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
tmp_dir: pathlib._local.Path,
) -> typing.Tuple[string.Template, typing.List[str]]
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
|
tmp_dir |
pathlib._local.Path |
|
def prepare_python_executable(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> flytekit.image_spec.default_builder._PythonInstallTemplate
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
|
def prepare_python_install(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
tmp_dir: pathlib._local.Path,
) -> str
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
|
tmp_dir |
pathlib._local.Path |
|
def prepare_uv_lock_command(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
tmp_dir: pathlib._local.Path,
) -> typing.Tuple[string.Template, typing.List[str]]
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
|
tmp_dir |
pathlib._local.Path |
|
Image builder using Docker and buildkit.
| Method |
Description |
build_image() |
Build the docker image and push it to the registry. |
should_build() |
Whether or not the builder should build the ImageSpec. |
def build_image(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> str
Build the docker image and push it to the registry.
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
image spec of the task. |
def should_build(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> bool
Whether or not the builder should build the ImageSpec.
| Parameter |
Type |
Description |
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
image spec of the task. |