Houdini 20.0 hapi

hapi.getServerEnvInt function

Get environment variable from the server process as an integer.

Usage

getServerEnvInt(session: hapi.Session, variable_name: str) → int

Get environment variable from the server process as an integer.

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

variable_name

Name of the environmnet variable.

Returns value as a int.

hapi