The docker_instance.py module#

Summary#

LocalDockerInstance

Instantiates a Geometry service as a local Docker container.

GeometryContainers

Provides an enum holding the available Geometry services.

get_geometry_container_type

Provide back the GeometryContainers value.

Description#

Module for connecting to a local Geometry Service Docker container.

Module detail#

docker_instance.get_geometry_container_type(instance: LocalDockerInstance) GeometryContainers | None#

Provide back the GeometryContainers value.

Parameters:
instanceLocalDockerInstance

The LocalDockerInstance object.

Returns:
GeometryContainers or None

The GeometryContainer value corresponding to the previous image or None if not match.

Notes

This method returns the first hit on the available tags.