set_api_token()
Sets the Neptune API token for the session.
Parameters
api_token
str
required
Your Neptune API token or a service account's API token.
If None
, the value of the NEPTUNE_API_TOKEN
environment variable is used.
Example
import neptune_query as nq
nq.set_api_token("SomeOtherNeptuneApiToken")