File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,14 @@ The `pyscript.storage` API wraps the browser's built-in
378378[ IndexDB] ( https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API )
379379persistent storage in a synchronous Pythonic API.
380380
381+ !!! info
382+
383+ The storage API is persistent per user tab, page, or domain, in the same
384+ way IndexedDB persists.
385+
386+ This API **is not** saving files in the interpreter's virtual file system
387+ nor onto the user's hard drive.
388+
381389``` python
382390from pyscript import storage
383391
@@ -438,14 +446,6 @@ store = await storage("my-data-store", storage_class=MyStorage)
438446# The store object is now an instance of MyStorage.
439447```
440448
441- !!! warning
442-
443- The storage API is persistent per user tab, page, or domain, in the same
444- way IndexedDB persists.
445-
446- This API **is not** saving files in the interpreter's virtual file system
447- nor onto the user's hard drive.
448-
449449### ` pyscript.ffi.to_js `
450450
451451A utility function to convert Python references into their JavaScript
You can’t perform that action at this time.
0 commit comments