Loading...
Searching...
No Matches
gams.control.execution.GamsEngineConfiguration Class Reference

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

Public Member Functions

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

Protected Member Functions

 _get_auth_header (self)
 Returns authentication heade.
 

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.
 
 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__()

gams.control.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.control.execution.GamsEngineConfiguration.jwt = property(get_jwt, set_jwt)
static

JWT token to use for Bearer authentication.

Will only be used if username is empty.