gams.execution.GamsEngineConfiguration Class Reference

Configuration that allows the execution of jobs on a specific GAMS Engine instance. More...

Public Member Functions

def __init__ (self, host=None, username=None, password=None, jwt=None, namespace=None)
 Constructor. More...
 

Properties

 host = property(get_host, set_host)
 Base url.
 
 username = property(get_username, set_username)
 Username for HTTP basic authentication.
 
 password = property(get_password, set_password)
 Password for HTTP basic authentication.
 
 jwt = property(get_jwt, set_jwt)
 JWT token to use for Bearer authentication. More...
 
 namespace = property(get_namespace, set_namespace)
 Namespace in which the job is to be executed.
 

Detailed Description

Configuration that allows the execution of jobs on a specific GAMS Engine instance.

Constructor & Destructor Documentation

◆ __init__()

def gams.execution.GamsEngineConfiguration.__init__ (   self,
  host = None,
  username = None,
  password = None,
  jwt = None,
  namespace = None 
)

Constructor.

Parameters
hostBase url
usernameUsername for HTTP basic authentication
passwordPassword for HTTP basic authentication
jwtJWT token to use for Bearer authentication. Will only be used if username is empty.
namespaceNamespace in which the job is to be executed

Property Documentation

◆ jwt

gams.execution.GamsEngineConfiguration.jwt = property(get_jwt, set_jwt)
static

JWT token to use for Bearer authentication.

Will only be used if username is empty.