The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
1.16.16
flytekit.image_spec.noop_builder
Directory
Classes
| Class | Description |
|---|---|
NoOpBuilder |
Noop image builder. |
flytekit.image_spec.noop_builder.NoOpBuilder
Noop image builder.
Methods
| Method | Description |
|---|---|
build_image() |
Build the docker image and push it to the registry. |
should_build() |
The build_image function of NoOpBuilder does not actually build a Docker image. |
build_image()
def build_image(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> strBuild 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. |
Returns: fully_qualified_image_name: Fully qualified image name. If None, then image_spec.image_name() is used.
should_build()
def should_build(
image_spec: flytekit.image_spec.image_spec.ImageSpec,
) -> boolThe build_image function of NoOpBuilder does not actually build a Docker image. Since no Docker build process occurs, we do not need to check for Docker daemon or existing images. Therefore, should_build should always return True.
| Parameter | Type | Description |
|---|---|---|
image_spec |
flytekit.image_spec.image_spec.ImageSpec |
Image specification |
Returns: bool: Always returns True