Skip to content

Commit ffdb5ac

Browse files
committed
polish unsupported integration type handling
1 parent ed9537b commit ffdb5ac

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/platform/notebooks/deepnote/sqlIntegrationEnvironmentVariablesProvider.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import {
1010
DATAFRAME_SQL_INTEGRATION_ID,
1111
IntegrationConfig,
1212
IntegrationType,
13-
SnowflakeAuthMethods,
14-
isSupportedSnowflakeAuthMethod
13+
SnowflakeAuthMethods
1514
} from './integrationTypes';
1615

1716
/**
@@ -71,13 +70,6 @@ function convertIntegrationConfigToJson(config: IntegrationConfig): string {
7170
// Service account key-pair: snowflake://{username}@{account}/{database}?warehouse={warehouse}&role={role}&authenticator=snowflake_jwt&application=YourApp
7271
const encodedAccount = encodeURIComponent(config.account);
7372

74-
// Check if this is a supported auth method
75-
if (!isSupportedSnowflakeAuthMethod(config.authMethod)) {
76-
throw new UnsupportedIntegrationError(
77-
`Snowflake integration with auth method '${config.authMethod}' is not supported in VSCode`
78-
);
79-
}
80-
8173
let url: string;
8274
const params: Record<string, unknown> = {};
8375

0 commit comments

Comments
 (0)