Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
radu-matei opened this issue Apr 22, 2024 · 0 comments
Open

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

radu-matei opened this issue Apr 22, 2024 · 0 comments

Comments

@radu-matei
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant