Skip to content

Bugs and caveats for code shown to users after registration #5

Description

@arjunguha

The API key configuration code should include:

from nnsight import CONFIG

A caveat for existing users: if the NDIF_API_KEY environment variable is set -- and I had it set in my .bashrc -- it overrides the API key set with CONFIG.set_default_api_key in the sample code. This will cause an error if the NDIF_API_KEY has expired.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions