@deepnote/database-integrations 1.3.0 → 1.3.1
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/index.cjs +1 -1
- package/dist/index.d.cts +70 -70
- package/dist/index.d.ts +70 -70
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -504,7 +504,7 @@ function getEnvVarForSqlCells(integration, params) {
|
|
|
504
504
|
* https://github.com/deepnote/deepnote-toolkit/blob/main/deepnote_toolkit/sql/sql_execution.py#L321
|
|
505
505
|
*/
|
|
506
506
|
function getSqlAlchemyInput(integration, params) {
|
|
507
|
-
if (integration.federated_auth_method) return null;
|
|
507
|
+
if (integration.federated_auth_method != null && isFederatedAuthMethod(integration.federated_auth_method)) return null;
|
|
508
508
|
switch (integration.type) {
|
|
509
509
|
case "alloydb":
|
|
510
510
|
case "pgsql": return getPostgresSqlAlchemyInput(integration.id, params.projectRootDirectory, integration.metadata);
|