The defaults.py
module#
Summary#
Default for the HOST name. |
|
Default for the HOST port. |
|
Default for the gRPC maximum message length. |
|
Default for the Geometry service Docker image location. |
|
Default for the PIM configuration when running PIM Light. |
Description#
Module providing default connection parameters.
Module detail#
- defaults.DEFAULT_HOST#
Default for the HOST name.
By default, PyAnsys Geometry searches for the environment variable
ANSRV_GEO_HOST
, and if this variable does not exist, PyAnsys Geometry uses127.0.0.1
as the host.
- defaults.DEFAULT_PORT: int#
Default for the HOST port.
By default, PyAnsys Geometry searches for the environment variable
ANSRV_GEO_PORT
, and if this variable does not exist, PyAnsys Geometry uses50051
as the port.
- defaults.MAX_MESSAGE_LENGTH#
Default for the gRPC maximum message length.
By default, PyAnsys Geometry searches for the environment variable
PYGEOMETRY_MAX_MESSAGE_LENGTH
, and if this variable does not exist, it uses256Mb
as the maximum message length.
- defaults.GEOMETRY_SERVICE_DOCKER_IMAGE = 'ghcr.io/ansys/geometry'#
Default for the Geometry service Docker image location.
Tag is dependent on what OS service is requested.
- defaults.DEFAULT_PIM_CONFIG#
Default for the PIM configuration when running PIM Light.
This parameter is only to be used when PIM Light is being run.