Skip to content

"Store" is not exported from module "spin_sdk.key_value" #100

@radu-matei

Description

@radu-matei

Using Spin KV in my Python app, I get the following error from my language server:

from spin_sdk.key_value import Store

Error:

Diagnostics:
"Store" is not exported from module "spin_sdk.key_value"
  Import from "spin_sdk.wit.imports.key_value" instead [reportPrivateImportUsage]

The app build successfully however:

Building component my-app with `componentize-py -w spin-http componentize app -o app.wasm`
Component built successfully
Finished building all Spin components

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions