@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 CHANGED
@@ -528,7 +528,7 @@ function getEnvVarForSqlCells(integration, params) {
528
528
  * https://github.com/deepnote/deepnote-toolkit/blob/main/deepnote_toolkit/sql/sql_execution.py#L321
529
529
  */
530
530
  function getSqlAlchemyInput(integration, params) {
531
- if (integration.federated_auth_method) return null;
531
+ if (integration.federated_auth_method != null && isFederatedAuthMethod(integration.federated_auth_method)) return null;
532
532
  switch (integration.type) {
533
533
  case "alloydb":
534
534
  case "pgsql": return getPostgresSqlAlchemyInput(integration.id, params.projectRootDirectory, integration.metadata);