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
-
host Base url username Username for HTTP basic authentication password Password for HTTP basic authentication jwt JWT token to use for Bearer authentication. Will only be used if username is empty. namespace Namespace in which the job is to be executed
Property Documentation
◆ jwt
|
static |
JWT token to use for Bearer authentication.
Will only be used if username is empty.