The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix code quality check
Ishaan Jaff69b47cf738c4
diff --git a/litellm/llms/snowflake/common_utils.py b/litellm/llms/snowflake/common_utils.pyindex ab8d37bcf13..40c8270f95f 100644--- a/litellm/llms/snowflake/common_utils.py+++ b/litellm/llms/snowflake/common_utils.py@@ -1,5 +1,5 @@-import httpx-from typing import List, Optional+from typing import Optional+class SnowflakeBase:def validate_environment(@@ -17,22 +17,18 @@ class SnowflakeBase:"Accept": "application/json","Authorization": "Bearer " + <JWT>,"X-Snowflake-Authorization-Token-Type": "KEYPAIR_JWT"- }+ }"""if JWT is None:- raise ValueError(- "Missing Snowflake JWT key"- )+ raise ValueError("Missing Snowflake JWT key")headers.update({"Content-Type": "application/json","Accept": "application/json","Authorization": "Bearer " + JWT,- "X-Snowflake-Authorization-Token-Type": "KEYPAIR_JWT"+ "X-Snowflake-Authorization-Token-Type": "KEYPAIR_JWT",})return headers--\ No newline at end of file