@marimo-team/islands 0.21.2-dev53 → 0.21.2-dev55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js
CHANGED
|
@@ -70883,7 +70883,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
|
|
|
70883
70883
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
70884
70884
|
}
|
|
70885
70885
|
}
|
|
70886
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-
|
|
70886
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-dev55"), showCodeInRunModeAtom = atom(true);
|
|
70887
70887
|
atom(null);
|
|
70888
70888
|
var import_compiler_runtime$89 = require_compiler_runtime();
|
|
70889
70889
|
function useKeydownOnElement(e, r) {
|
package/package.json
CHANGED
package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap
CHANGED
|
@@ -85,7 +85,7 @@ store = GCSStore("my-bucket")"
|
|
|
85
85
|
exports[`generateStorageCode > Google Drive > with browser auth (no credentials) 1`] = `
|
|
86
86
|
"from gdrive_fsspec import GoogleDriveFileSystem
|
|
87
87
|
|
|
88
|
-
fs = GoogleDriveFileSystem(token="browser")"
|
|
88
|
+
fs = GoogleDriveFileSystem(token="browser", use_listings_cache=False)"
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
exports[`generateStorageCode > Google Drive > with service account credentials 1`] = `
|
|
@@ -93,7 +93,7 @@ exports[`generateStorageCode > Google Drive > with service account credentials 1
|
|
|
93
93
|
import json
|
|
94
94
|
|
|
95
95
|
_creds = json.loads("""{"type": "service_account", "client_email": "test@test.iam.gserviceaccount.com"}""")
|
|
96
|
-
fs = GoogleDriveFileSystem(creds=_creds, token="service_account")"
|
|
96
|
+
fs = GoogleDriveFileSystem(creds=_creds, token="service_account", use_listings_cache=False)"
|
|
97
97
|
`;
|
|
98
98
|
|
|
99
99
|
exports[`generateStorageCode > S3 > basic connection with all fields 1`] = `
|
|
@@ -173,13 +173,13 @@ function generateGDriveCode(
|
|
|
173
173
|
);
|
|
174
174
|
const code = dedent(`
|
|
175
175
|
_creds = json.loads("""${connection.credentials_json?.startsWith("ENV:") ? `{${creds}}` : connection.credentials_json}""")
|
|
176
|
-
fs = GoogleDriveFileSystem(creds=_creds, token="service_account")
|
|
176
|
+
fs = GoogleDriveFileSystem(creds=_creds, token="service_account", use_listings_cache=False)
|
|
177
177
|
`);
|
|
178
178
|
return { imports, code };
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
const code = dedent(`
|
|
182
|
-
fs = GoogleDriveFileSystem(token="browser")
|
|
182
|
+
fs = GoogleDriveFileSystem(token="browser", use_listings_cache=False)
|
|
183
183
|
`);
|
|
184
184
|
return { imports, code };
|
|
185
185
|
}
|