set_api_token()
Python package: neptune-fetcher
Sets the Neptune API token in the context.
Returns the set context.
Parameters
| Name | Type | Description |
|---|---|---|
api_token | str, optional | Your 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_fetcher.alpha as npt
npt.set_api_token("SomeOtherNeptuneApiToken")