Skip to main content
App version: 3.4.8

set_api_token()

Python package: neptune-fetcher

Sets the Neptune API token in the context.

Returns the set context.

Parameters

NameTypeDescription
api_tokenstr, optionalYour 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")