Loading...
Searching...
No Matches
Configuration that allows the execution of jobs on a specific GAMS Engine instance.
More...
|
property | host = property(get_host, set_host) |
| Base url.
|
|
property | username = property(get_username, set_username) |
| Username for HTTP basic authentication.
|
|
property | password = property(get_password, set_password) |
| Password for HTTP basic authentication.
|
|
property | jwt = property(get_jwt, set_jwt) |
| JWT token to use for Bearer authentication.
|
|
property | namespace = property(get_namespace, set_namespace) |
| Namespace in which the job is to be executed.
|
|
Configuration that allows the execution of jobs on a specific GAMS Engine instance.
◆ __init__()
def 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 |
◆ _get_auth_header()
def gams.control.execution.GamsEngineConfiguration._get_auth_header |
( |
|
self | ) |
|
|
protected |
Returns authentication heade.
◆ jwt
property 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.