{% include JB/setup %}
To set up environmental parameters or variables on Marvin it's recommended to use the argument params
that is present on every engine actions.
You may edit the file engine.params that is located at the root directory of your engine. You must insert params as a dictionary:
{ "login" : "marvin", "password": "123455" }
Params are loaded as an argument on your engine execution. Then, inside your code you must do params.get("login")
or params["login"]
to access those variables.
Notice that if you are running your actions using an API, you may alse set params at the the API body. These params will overwrite the engine.params file.