diff --git a/packages/base/README.md b/packages/base/README.md index a9ad652d..5dd4a603 100644 --- a/packages/base/README.md +++ b/packages/base/README.md @@ -77,4 +77,4 @@ scenario = ai_api_v2_client.scenario.get(scenario_id="") The [unit tests](tests) are simply python unit tests. They can be run via pytest or directly from IDE. The [integration_tests](integration_tests) are also python tests. They run against intwdf cluster. - \ No newline at end of file + diff --git a/packages/base/tests/resource_clients/test_resource_groups_client.py b/packages/base/tests/resource_clients/test_resource_groups_client.py index 14a63245..bf8f65ba 100644 --- a/packages/base/tests/resource_clients/test_resource_groups_client.py +++ b/packages/base/tests/resource_clients/test_resource_groups_client.py @@ -128,4 +128,4 @@ def test_query_resource_group_search_case_insensitive(self): self.assertEqual(expected_response.count, response.count) self.assertEqual(len(expected_response.resources), len(response.resources)) - self.assert_resource_group(expected_response.resources[0], response.resources[0]) \ No newline at end of file + self.assert_resource_group(expected_response.resources[0], response.resources[0]) diff --git a/packages/core/ai_core_sdk/helpers/constants.py b/packages/core/ai_core_sdk/helpers/constants.py index 70913307..ffd29a36 100644 --- a/packages/core/ai_core_sdk/helpers/constants.py +++ b/packages/core/ai_core_sdk/helpers/constants.py @@ -15,4 +15,4 @@ class Timeouts(Enum): READ_TIMEOUT = 60 CONNECT_TIMEOUT = 60 - NUM_REQUEST_RETRIES = 3 \ No newline at end of file + NUM_REQUEST_RETRIES = 3 diff --git a/packages/core/integration_tests/test_e2e_x509.py b/packages/core/integration_tests/test_e2e_x509.py index bfe13726..1c15d7c5 100644 --- a/packages/core/integration_tests/test_e2e_x509.py +++ b/packages/core/integration_tests/test_e2e_x509.py @@ -100,4 +100,4 @@ def test_x509_file_path(self): def test_x509_str(self): client = AICoreV2Client(base_url=BASE_URL, auth_url=X509_CERT_URL, client_id=CLIENT_ID, cert_str=X509_CERT_STR, key_str=X509_KEY_STR, resource_group=RESOURCE_GROUP_ID) - self._query_and_assert_scenarios(client) \ No newline at end of file + self._query_and_assert_scenarios(client) diff --git a/packages/core/tests/helpers/test_base_models.py b/packages/core/tests/helpers/test_base_models.py index 461a0188..5247f351 100644 --- a/packages/core/tests/helpers/test_base_models.py +++ b/packages/core/tests/helpers/test_base_models.py @@ -17,4 +17,4 @@ def test_message_string_representation(self): message = "dummy_message" message_object = Message(message=message) self.assertIn("Message: ", message_object.__str__()) - self.assertIn(message, message_object.__str__()) \ No newline at end of file + self.assertIn(message, message_object.__str__()) diff --git a/packages/core/tests/tracking/test_tracking.py b/packages/core/tests/tracking/test_tracking.py index 21c59928..cb1b1960 100644 --- a/packages/core/tests/tracking/test_tracking.py +++ b/packages/core/tests/tracking/test_tracking.py @@ -288,4 +288,4 @@ def test_tracking_query_metrics_within_aicore(self): def test_tracking_authenticator_exception(self): with self.assertRaises(AIAPIAuthenticatorException): - self.tracking = Tracking('http://test_url') \ No newline at end of file + self.tracking = Tracking('http://test_url') diff --git a/packages/gen/AICORE.generative-ai-hub-sdk.png b/packages/gen/AICORE.generative-ai-hub-sdk.png index d9fe35fe..3eeef066 100644 Binary files a/packages/gen/AICORE.generative-ai-hub-sdk.png and b/packages/gen/AICORE.generative-ai-hub-sdk.png differ diff --git a/packages/gen/GOVERNANCE.md b/packages/gen/GOVERNANCE.md index 6fc7f4e6..6ca5e20a 100644 --- a/packages/gen/GOVERNANCE.md +++ b/packages/gen/GOVERNANCE.md @@ -49,4 +49,4 @@ High quality documentation is as important as the shipped code. **Developer docu Collaboration, creativity, and meaningful innovation depend on good communication. To make your contribution a success, be open and transparent about your planned development and closely align with the project team. Use communication tools that allow anyone to easily find discussions that happened in the past. -To contact us or get in touch with our community, please have a look at our [communication channels](SUPPORT.md#communication-channels). \ No newline at end of file +To contact us or get in touch with our community, please have a look at our [communication channels](SUPPORT.md#communication-channels). diff --git a/packages/gen/README.md b/packages/gen/README.md index 6b26b2c5..de2a2511 100644 --- a/packages/gen/README.md +++ b/packages/gen/README.md @@ -102,4 +102,4 @@ This project is Innersource and if you wish to contribute to this project please The code for this SDK is originated from [llm-commons](https://github.tools.sap/AI-Playground-Projects/llm-commons). -Kudos to the authors (especially Mathis Börner). \ No newline at end of file +Kudos to the authors (especially Mathis Börner). diff --git a/packages/gen/SUPPORT.md b/packages/gen/SUPPORT.md index 040007ef..6f9cbc35 100644 --- a/packages/gen/SUPPORT.md +++ b/packages/gen/SUPPORT.md @@ -17,4 +17,4 @@ Within the project we are using these communication channels: - Issues: [GitHub](https://github.wdf.sap.corp/AI/generative-ai-hub-sdk/issues) - Chat: [Slack](#ai-core-sdk) - Team: [Contributors](https://github.wdf.sap.corp/AI/generative-ai-hub-sdk/graphs/contributors) -- Planning: [Jira](https://jira.tools.sap/browse/AI-33952) \ No newline at end of file +- Planning: [Jira](https://jira.tools.sap/browse/AI-33952) diff --git a/packages/gen/docs/Makefile b/packages/gen/docs/Makefile index b6df959f..c25a4cb4 100644 --- a/packages/gen/docs/Makefile +++ b/packages/gen/docs/Makefile @@ -46,4 +46,4 @@ comment_out_lines: sed -i '' '/window\.location/s/^/\/\/ /' ./build/html/_static/doctools.js; \ else \ sed -i '/window\.location/s/^/\/\/ /' ./build/html/_static/doctools.js; \ - fi \ No newline at end of file + fi diff --git a/packages/gen/docs/gen_ai_hub/examples/batch-service.ipynb b/packages/gen/docs/gen_ai_hub/examples/batch-service.ipynb index ee7d21a6..7b8008e9 100644 --- a/packages/gen/docs/gen_ai_hub/examples/batch-service.ipynb +++ b/packages/gen/docs/gen_ai_hub/examples/batch-service.ipynb @@ -335,4 +335,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/packages/gen/docs/source/index.rst b/packages/gen/docs/source/index.rst index e00685c5..2ffe507a 100644 --- a/packages/gen/docs/source/index.rst +++ b/packages/gen/docs/source/index.rst @@ -10,4 +10,4 @@ SAP Cloud SDK for AI (Python) - generative Introduction <./_reference/README_sphynx.md> examples Release Notes <./_reference/RELEASE_NOTES.md> - API Reference <./_api_doc/gen_ai_hub.rst> \ No newline at end of file + API Reference <./_api_doc/gen_ai_hub.rst> diff --git a/packages/gen/gen_ai_hub/document_grounding/__init__.py b/packages/gen/gen_ai_hub/document_grounding/__init__.py index 9a682868..809b376c 100644 --- a/packages/gen/gen_ai_hub/document_grounding/__init__.py +++ b/packages/gen/gen_ai_hub/document_grounding/__init__.py @@ -95,4 +95,4 @@ "RetrievalAPIClient", "VectorAPIClient" -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/document_grounding/client.py b/packages/gen/gen_ai_hub/document_grounding/client.py index c19afa18..5ba6ec66 100644 --- a/packages/gen/gen_ai_hub/document_grounding/client.py +++ b/packages/gen/gen_ai_hub/document_grounding/client.py @@ -33,4 +33,4 @@ "PipelineAPIClient", "RetrievalAPIClient", "VectorAPIClient", -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/document_grounding/clients/__init__.py b/packages/gen/gen_ai_hub/document_grounding/clients/__init__.py index 170de6f5..bd2b2943 100644 --- a/packages/gen/gen_ai_hub/document_grounding/clients/__init__.py +++ b/packages/gen/gen_ai_hub/document_grounding/clients/__init__.py @@ -26,4 +26,4 @@ __all__ = [ "PipelineAPIClient", "RetrievalAPIClient", "VectorAPIClient", "PATH_DOCUMENT_GROUNDING", "PATH_DOCUMENT_GROUNDING_VECTOR", "PATH_DOCUMENT_GROUNDING_PIPELINES", "PATH_DOCUMENT_GROUNDING_RETRIEVAL" -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/document_grounding/models/__init__.py b/packages/gen/gen_ai_hub/document_grounding/models/__init__.py index b53a093d..dae6c8d1 100644 --- a/packages/gen/gen_ai_hub/document_grounding/models/__init__.py +++ b/packages/gen/gen_ai_hub/document_grounding/models/__init__.py @@ -169,4 +169,4 @@ "DocumentsChunk", "VectorPerFilterSearchResult", "VectorSearchResults" -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/evaluations/constants.py b/packages/gen/gen_ai_hub/evaluations/constants.py index b8db63ab..89f39032 100644 --- a/packages/gen/gen_ai_hub/evaluations/constants.py +++ b/packages/gen/gen_ai_hub/evaluations/constants.py @@ -244,4 +244,4 @@ TRACKING_SERVICE_ENDPOINT = "/lm/metrics" CONTENT_TYPE = "application/json" DEFAULT_TIMEOUT = 3600 -ADDITIONAL_INFO_KEY = "additional_info" \ No newline at end of file +ADDITIONAL_INFO_KEY = "additional_info" diff --git a/packages/gen/gen_ai_hub/evaluations/models/__init__.py b/packages/gen/gen_ai_hub/evaluations/models/__init__.py index c9018188..31a0d3e5 100644 --- a/packages/gen/gen_ai_hub/evaluations/models/__init__.py +++ b/packages/gen/gen_ai_hub/evaluations/models/__init__.py @@ -4,4 +4,4 @@ from .artifact_source import ArtifactSource from .evaluation_run import Results, EvaluationRun -__all__ = ["Dataset", "EvaluationConfig", "MetricConfig", "MetricRef", "ArtifactSource", "Results", "EvaluationRun"] \ No newline at end of file +__all__ = ["Dataset", "EvaluationConfig", "MetricConfig", "MetricRef", "ArtifactSource", "Results", "EvaluationRun"] diff --git a/packages/gen/gen_ai_hub/evaluations/models/artifact_source.py b/packages/gen/gen_ai_hub/evaluations/models/artifact_source.py index f42f2dcb..4e2d9b44 100755 --- a/packages/gen/gen_ai_hub/evaluations/models/artifact_source.py +++ b/packages/gen/gen_ai_hub/evaluations/models/artifact_source.py @@ -41,4 +41,4 @@ def __init__( self.path = path self.file_type = file_type -__all__ = ["ArtifactSource"] \ No newline at end of file +__all__ = ["ArtifactSource"] diff --git a/packages/gen/gen_ai_hub/evaluations/models/dataset_config.py b/packages/gen/gen_ai_hub/evaluations/models/dataset_config.py index d09062db..80f0e2d5 100644 --- a/packages/gen/gen_ai_hub/evaluations/models/dataset_config.py +++ b/packages/gen/gen_ai_hub/evaluations/models/dataset_config.py @@ -77,4 +77,4 @@ def file_type(self) -> Optional[str]: return SUFFIX_TO_FILE_TYPE.get(suffix, None) -__all__ = ["Dataset"] \ No newline at end of file +__all__ = ["Dataset"] diff --git a/packages/gen/gen_ai_hub/evaluations/models/evaluation_config.py b/packages/gen/gen_ai_hub/evaluations/models/evaluation_config.py index 2de003a4..25d64c7b 100644 --- a/packages/gen/gen_ai_hub/evaluations/models/evaluation_config.py +++ b/packages/gen/gen_ai_hub/evaluations/models/evaluation_config.py @@ -122,4 +122,4 @@ def __init__( self.repetitions = repetitions self.debug_mode = debug_mode -__all__ = ["EvaluationConfig"] \ No newline at end of file +__all__ = ["EvaluationConfig"] diff --git a/packages/gen/gen_ai_hub/evaluations/models/metric_config.py b/packages/gen/gen_ai_hub/evaluations/models/metric_config.py index 7745c25b..ac5ca891 100644 --- a/packages/gen/gen_ai_hub/evaluations/models/metric_config.py +++ b/packages/gen/gen_ai_hub/evaluations/models/metric_config.py @@ -37,4 +37,4 @@ def __init__( self.reference = reference self.variable_mapping = variable_mapping -__all__ = ["MetricRef", "MetricConfig"] \ No newline at end of file +__all__ = ["MetricRef", "MetricConfig"] diff --git a/packages/gen/gen_ai_hub/evaluations/utils/file_utils.py b/packages/gen/gen_ai_hub/evaluations/utils/file_utils.py index e11494cd..72cfbcac 100644 --- a/packages/gen/gen_ai_hub/evaluations/utils/file_utils.py +++ b/packages/gen/gen_ai_hub/evaluations/utils/file_utils.py @@ -106,4 +106,4 @@ def read_local_csv_file(file_path: Path, error_collector: ValidationCollector) - error_collector.add_error( ErrorCode.GENERIC_ERROR, f"Reading config file {file_path} failed with: {e}" ) - return [] \ No newline at end of file + return [] diff --git a/packages/gen/gen_ai_hub/orchestration/models/response_format.py b/packages/gen/gen_ai_hub/orchestration/models/response_format.py index 66ad87bc..c2259a18 100644 --- a/packages/gen/gen_ai_hub/orchestration/models/response_format.py +++ b/packages/gen/gen_ai_hub/orchestration/models/response_format.py @@ -148,4 +148,4 @@ def validate_name(name): "or contain underscores and dashes, with a maximum length of 64.") return name - \ No newline at end of file + diff --git a/packages/gen/gen_ai_hub/orchestration_v2/__init__.py b/packages/gen/gen_ai_hub/orchestration_v2/__init__.py index 4759069d..260f0c7e 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/__init__.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/__init__.py @@ -77,4 +77,4 @@ # Exceptions "OrchestrationError", "OrchestrationErrorList" - ] \ No newline at end of file + ] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/exceptions.py b/packages/gen/gen_ai_hub/orchestration_v2/exceptions.py index 927944b9..a905b4d4 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/exceptions.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/exceptions.py @@ -60,4 +60,4 @@ def __init__(self, errors: list[OrchestrationError]): super().__init__(errors[0].message) -__all__ = ["OrchestrationError", "OrchestrationErrorList"] \ No newline at end of file +__all__ = ["OrchestrationError", "OrchestrationErrorList"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/__init__.py b/packages/gen/gen_ai_hub/orchestration_v2/models/__init__.py index a7628d3b..790b0b75 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/__init__.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/__init__.py @@ -104,4 +104,4 @@ "TranslationConfig", "SAPDocumentTranslation", "SAPDocumentTranslationApplyToSelector", "InputTranslationConfig", "OutputTranslationConfig", "SAPDocumentTranslationInput", "SAPDocumentTranslationOutput", "TranslationModuleConfig" -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/azure_content_filter.py b/packages/gen/gen_ai_hub/orchestration_v2/models/azure_content_filter.py index cedbc2e3..c118b911 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/azure_content_filter.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/azure_content_filter.py @@ -80,4 +80,4 @@ class AzureContentSafetyOutput(AzureContentFilter): protected_material_code: Optional[bool] = False -__all__ = ["AzureContentFilter", "AzureContentSafetyInput", "AzureContentSafetyOutput", "AzureThreshold"] \ No newline at end of file +__all__ = ["AzureContentFilter", "AzureContentSafetyInput", "AzureContentSafetyOutput", "AzureThreshold"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/config.py b/packages/gen/gen_ai_hub/orchestration_v2/models/config.py index 84d6351f..0708a717 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/config.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/config.py @@ -87,4 +87,4 @@ class CompletionRequestConfigurationReferenceByNameScenarioVersionConfigRef(Base __all__ = ["ModuleConfig", "OrchestrationConfig", "OrchestrationConfigReference", "CompletionRequestConfigurationReferenceByIdConfigRef", - "CompletionRequestConfigurationReferenceByNameScenarioVersionConfigRef"] \ No newline at end of file + "CompletionRequestConfigurationReferenceByNameScenarioVersionConfigRef"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/content_filter.py b/packages/gen/gen_ai_hub/orchestration_v2/models/content_filter.py index 5c235d53..2f4c08d1 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/content_filter.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/content_filter.py @@ -65,4 +65,4 @@ class FilteringStreamOptions(BaseModel): overlap: Optional[int] = Field(default=0, ge=0, le=10000) __all__ = ["ContentFilterProvider", "ContentFilter", "LlamaGuard38bFilterConfig", "AzureContentSafetyInputFilterConfig", - "AzureContentSafetyOutputFilterConfig", "FilteringStreamOptions"] \ No newline at end of file + "AzureContentSafetyOutputFilterConfig", "FilteringStreamOptions"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/content_filtering.py b/packages/gen/gen_ai_hub/orchestration_v2/models/content_filtering.py index e7b99065..6944c7bc 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/content_filtering.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/content_filtering.py @@ -58,4 +58,4 @@ def enforce_min_properties(cls, values): # pylint: disable=no-self-argument "FilteringModuleConfig must have at least one property: input or output." return values -__all__ = ["InputFiltering", "OutputFiltering", "FilteringModuleConfig"] \ No newline at end of file +__all__ = ["InputFiltering", "OutputFiltering", "FilteringModuleConfig"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/data_masking.py b/packages/gen/gen_ai_hub/orchestration_v2/models/data_masking.py index ffcc5a31..30b489cf 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/data_masking.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/data_masking.py @@ -218,4 +218,4 @@ def enforce_exactly_one_provider_list(self): return self __all__ = ["DataMaskingProviderName", "MaskingMethod", "ProfileEntity", "DPIMethodConstant", "DPIMethodFabricatedData", - "DPICustomEntity", "DPIStandardEntity", "MaskGroundingInput", "MaskingProviderConfig", "MaskingModuleConfig"] \ No newline at end of file + "DPICustomEntity", "DPIStandardEntity", "MaskGroundingInput", "MaskingProviderConfig", "MaskingModuleConfig"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/document_grounding.py b/packages/gen/gen_ai_hub/orchestration_v2/models/document_grounding.py index e229440f..d1645dd8 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/document_grounding.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/document_grounding.py @@ -134,4 +134,4 @@ class GroundingModuleConfig(BaseModel): config: DocumentGroundingConfig __all__ = ["GroundingType", "DataRepositoryType", "DocumentGroundingFilter", "DocumentGroundingPlaceholders", - "DocumentGroundingConfig", "GroundingModuleConfig", "KeyValueListPair", "DocumentMetadataKeyValueListPairs"] \ No newline at end of file + "DocumentGroundingConfig", "GroundingModuleConfig", "KeyValueListPair", "DocumentMetadataKeyValueListPairs"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/embeddings.py b/packages/gen/gen_ai_hub/orchestration_v2/models/embeddings.py index 28fd4698..b51ca78f 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/embeddings.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/embeddings.py @@ -186,4 +186,4 @@ class EmbeddingsRequest(BaseModel): __all__ = ["EmbeddingsEncodingFormat", "EmbeddingsInputType", "EmbeddingsModelParams", "EmbeddingsModelDetails", "EmbeddingsModelConfig", "EmbeddingsModuleConfigs", "EmbeddingsOrchestrationConfig", "EmbeddingsInput", - "EmbeddingsUsage", "EmbeddingResult", "EmbeddingsResponse", "EmbeddingsPostResponse", "EmbeddingsRequest"] \ No newline at end of file + "EmbeddingsUsage", "EmbeddingResult", "EmbeddingsResponse", "EmbeddingsPostResponse", "EmbeddingsRequest"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/llama_guard_3_filter.py b/packages/gen/gen_ai_hub/orchestration_v2/models/llama_guard_3_filter.py index 9707bc63..cc81f5c3 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/llama_guard_3_filter.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/llama_guard_3_filter.py @@ -55,4 +55,4 @@ class LlamaGuard38bFilter(BaseModel): elections: bool = False code_interpreter_abuse: bool = False -__all__ = ["LlamaGuard38bFilter"] \ No newline at end of file +__all__ = ["LlamaGuard38bFilter"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/llm_model_details.py b/packages/gen/gen_ai_hub/orchestration_v2/models/llm_model_details.py index 05386356..cd6b1c5e 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/llm_model_details.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/llm_model_details.py @@ -31,4 +31,4 @@ class LLMModelDetails(BaseModel): timeout: Optional[int] = Field(default=600, ge=1, le=600) max_retries: Optional[int] = Field(default=2, ge=0, le=5) -__all__ = ["LLMModelDetails"] \ No newline at end of file +__all__ = ["LLMModelDetails"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/message.py b/packages/gen/gen_ai_hub/orchestration_v2/models/message.py index aa5039c2..f098c775 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/message.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/message.py @@ -192,4 +192,4 @@ class ResponseChatMessage(BaseModel): ResponseChatMessage] __all__ = ["Role", "SystemMessage", "UserMessage", "AssistantMessage", "ToolChatMessage", "DeveloperChatMessage", - "ChatMessage", "ResponseChatMessage", "FunctionCall", "MessageToolCall"] \ No newline at end of file + "ChatMessage", "ResponseChatMessage", "FunctionCall", "MessageToolCall"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/multimodal_items.py b/packages/gen/gen_ai_hub/orchestration_v2/models/multimodal_items.py index 9ae2d5e2..87855b24 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/multimodal_items.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/multimodal_items.py @@ -159,4 +159,4 @@ def model_dump( # pylint: disable=arguments-differ serialize_as_any=serialize_as_any, ) -__all__ = ["ImageDetailLevel", "TextPart", "ImageUrl", "ImagePart", "ContentPart", "ImageItem"] \ No newline at end of file +__all__ = ["ImageDetailLevel", "TextPart", "ImageUrl", "ImagePart", "ContentPart", "ImageItem"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/orchestration_request.py b/packages/gen/gen_ai_hub/orchestration_v2/models/orchestration_request.py index 664fa736..1358125c 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/orchestration_request.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/orchestration_request.py @@ -29,4 +29,4 @@ def validate_config_or_ref(self): ) return self -__all__ = ["CompletionPostRequest"] \ No newline at end of file +__all__ = ["CompletionPostRequest"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/response.py b/packages/gen/gen_ai_hub/orchestration_v2/models/response.py index 7fb32d24..ca398edf 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/response.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/response.py @@ -408,4 +408,4 @@ class OrchestrationResponseWithRetries(CompletionPostResponse): "StreamCompletionPostResponse", "ErrorResponse", "ErrorResponseStreaming", - "OrchestrationResponseWithRetries"] \ No newline at end of file + "OrchestrationResponseWithRetries"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/response_format.py b/packages/gen/gen_ai_hub/orchestration_v2/models/response_format.py index a84a3ff4..ba76c7a5 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/response_format.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/response_format.py @@ -91,4 +91,4 @@ class ResponseFormatJsonSchema(BaseModel): json_schema: JSONResponseSchema __all__ = ["ResponseFormatType", "ResponseFormatText", "ResponseFormatJsonObject", "ResponseFormatJsonSchema", - "JSONResponseSchema"] \ No newline at end of file + "JSONResponseSchema"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/streaming.py b/packages/gen/gen_ai_hub/orchestration_v2/models/streaming.py index 9fc8ddc3..08fb6e58 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/streaming.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/streaming.py @@ -34,4 +34,4 @@ def model_dump(self, **kwargs): data.pop('delimiters', None) return data -__all__ = ["GlobalStreamOptions"] \ No newline at end of file +__all__ = ["GlobalStreamOptions"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/template.py b/packages/gen/gen_ai_hub/orchestration_v2/models/template.py index 64f8129d..1fe55b1f 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/template.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/template.py @@ -39,4 +39,4 @@ class PromptTemplatingModuleConfig(BaseModel): prompt: Template | TemplateRef model: LLMModelDetails -__all__ = ["Template", "PromptTemplatingModuleConfig"] \ No newline at end of file +__all__ = ["Template", "PromptTemplatingModuleConfig"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/template_ref.py b/packages/gen/gen_ai_hub/orchestration_v2/models/template_ref.py index f6b79cd7..625d12a0 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/template_ref.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/template_ref.py @@ -43,4 +43,4 @@ class TemplateRefByScenarioNameVersion(BaseModel): class TemplateRef(BaseModel): template_ref: TemplateRefByID | TemplateRefByScenarioNameVersion -__all__ = ["TemplateRef", "TemplateRefByID", "TemplateRefByScenarioNameVersion"] \ No newline at end of file +__all__ = ["TemplateRef", "TemplateRefByID", "TemplateRefByScenarioNameVersion"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/tools.py b/packages/gen/gen_ai_hub/orchestration_v2/models/tools.py index db985726..ea4811bf 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/tools.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/tools.py @@ -221,4 +221,4 @@ def decorator(func_: Callable) -> FunctionTool: "FunctionObject", "FunctionTool", "function_tool" -] \ No newline at end of file +] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/models/translation.py b/packages/gen/gen_ai_hub/orchestration_v2/models/translation.py index 81fc4b25..a8874696 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/models/translation.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/models/translation.py @@ -111,4 +111,4 @@ class TranslationModuleConfig(BaseModel): __al__ = ["TranslationType", "TranslationConfig", "SAPDocumentTranslation", "SAPDocumentTranslationApplyToSelector", "InputTranslationConfig", "OutputTranslationConfig", "SAPDocumentTranslationInput", - "SAPDocumentTranslationOutput", "TranslationModuleConfig"] \ No newline at end of file + "SAPDocumentTranslationOutput", "TranslationModuleConfig"] diff --git a/packages/gen/gen_ai_hub/orchestration_v2/service.py b/packages/gen/gen_ai_hub/orchestration_v2/service.py index 0a4795c4..e9732ade 100644 --- a/packages/gen/gen_ai_hub/orchestration_v2/service.py +++ b/packages/gen/gen_ai_hub/orchestration_v2/service.py @@ -813,4 +813,4 @@ async def aclose_http_connection(self): await self.async_client.aclose() -__all__ = ["OrchestrationService"] \ No newline at end of file +__all__ = ["OrchestrationService"] diff --git a/packages/gen/gen_ai_hub/prompt_registry/__init__.py b/packages/gen/gen_ai_hub/prompt_registry/__init__.py index a03f3414..8b1ece77 100644 --- a/packages/gen/gen_ai_hub/prompt_registry/__init__.py +++ b/packages/gen/gen_ai_hub/prompt_registry/__init__.py @@ -6,4 +6,4 @@ 'PromptTemplateSubstitutionResponse', 'PromptTemplateGetResponse', 'PromptTemplatePostResponse', 'PromptTemplateDeleteResponse', 'PromptTemplateListResponse', 'OrchestrationConfigPostRequest', 'OrchestrationConfigPostResponse', 'OrchestrationConfigGetResponse', 'OrchestrationConfigListResponse', - 'OrchestrationConfigDeleteResponse'] \ No newline at end of file + 'OrchestrationConfigDeleteResponse'] diff --git a/packages/gen/gen_ai_hub/prompt_registry/client.py b/packages/gen/gen_ai_hub/prompt_registry/client.py index 19d21d6e..ae193399 100644 --- a/packages/gen/gen_ai_hub/prompt_registry/client.py +++ b/packages/gen/gen_ai_hub/prompt_registry/client.py @@ -376,4 +376,4 @@ def export_orchestration_config(self, config_id: str) -> bytes: return response -__all__ = ["PromptTemplateClient", "OrchestrationConfigClient"] \ No newline at end of file +__all__ = ["PromptTemplateClient", "OrchestrationConfigClient"] diff --git a/packages/gen/gen_ai_hub/prompt_registry/models/__init__.py b/packages/gen/gen_ai_hub/prompt_registry/models/__init__.py index afe2fcc3..63e49a0e 100644 --- a/packages/gen/gen_ai_hub/prompt_registry/models/__init__.py +++ b/packages/gen/gen_ai_hub/prompt_registry/models/__init__.py @@ -10,4 +10,4 @@ 'PromptTemplateSubstitutionResponse', 'PromptTemplateGetResponse', 'PromptTemplatePostResponse', 'PromptTemplateDeleteResponse', 'PromptTemplateListResponse', 'OrchestrationConfigPostRequest', 'OrchestrationConfigPostResponse', 'OrchestrationConfigGetResponse', 'OrchestrationConfigListResponse', - 'OrchestrationConfigDeleteResponse'] \ No newline at end of file + 'OrchestrationConfigDeleteResponse'] diff --git a/packages/gen/gen_ai_hub/proxy/native/amazon/__init__.py b/packages/gen/gen_ai_hub/proxy/native/amazon/__init__.py index e973b159..3838698d 100644 --- a/packages/gen/gen_ai_hub/proxy/native/amazon/__init__.py +++ b/packages/gen/gen_ai_hub/proxy/native/amazon/__init__.py @@ -2,4 +2,4 @@ ClientWrapper, Session, AsyncSession, AsyncClientWrapper) __all__ = ["set_deployment", "get_current_deployment","prepare_request_dict", "tolerate_missing_model_id", - "ClientWrapper", "Session", "AsyncSession", "AsyncClientWrapper"] \ No newline at end of file + "ClientWrapper", "Session", "AsyncSession", "AsyncClientWrapper"] diff --git a/packages/gen/gen_ai_hub/proxy/native/google_genai/__init__.py b/packages/gen/gen_ai_hub/proxy/native/google_genai/__init__.py index 098efe55..7cd4405c 100644 --- a/packages/gen/gen_ai_hub/proxy/native/google_genai/__init__.py +++ b/packages/gen/gen_ai_hub/proxy/native/google_genai/__init__.py @@ -1,3 +1,3 @@ from .clients import Client, AICoreDynamicTransport, AsyncAICoreDynamicTransport -__all__ = ['Client', 'AICoreDynamicTransport', 'AsyncAICoreDynamicTransport'] \ No newline at end of file +__all__ = ['Client', 'AICoreDynamicTransport', 'AsyncAICoreDynamicTransport'] diff --git a/packages/gen/gen_ai_hub/proxy/native/sap/__init__.py b/packages/gen/gen_ai_hub/proxy/native/sap/__init__.py index 61ec934a..25a53fd4 100644 --- a/packages/gen/gen_ai_hub/proxy/native/sap/__init__.py +++ b/packages/gen/gen_ai_hub/proxy/native/sap/__init__.py @@ -3,4 +3,4 @@ PredictionItem, PredictionConfig, ErrorResponseDetails, DataType) __all__ = ['RPTClient', 'TargetColumn', 'RPTRequest', 'RPTResponse', 'RPTException', 'ResponseStatus', - 'ResponseMetadata', 'Prediction', 'PredictionItem', 'PredictionConfig', 'ErrorResponseDetails', 'DataType'] \ No newline at end of file + 'ResponseMetadata', 'Prediction', 'PredictionItem', 'PredictionConfig', 'ErrorResponseDetails', 'DataType'] diff --git a/packages/gen/integration_tests/document_grounding/test_pipeline_api_client.py b/packages/gen/integration_tests/document_grounding/test_pipeline_api_client.py index bb63e5b9..3100ce35 100644 --- a/packages/gen/integration_tests/document_grounding/test_pipeline_api_client.py +++ b/packages/gen/integration_tests/document_grounding/test_pipeline_api_client.py @@ -99,4 +99,4 @@ def test_search_pipelines(self): ) response = self.client.search_pipelines(request) self.assertIsInstance(response, SearchPipelinesResponse) - self.assertGreaterEqual(response.count, 0) \ No newline at end of file + self.assertGreaterEqual(response.count, 0) diff --git a/packages/gen/integration_tests/document_grounding/test_vector_api_client.py b/packages/gen/integration_tests/document_grounding/test_vector_api_client.py index 9f7541ee..615c0dc2 100644 --- a/packages/gen/integration_tests/document_grounding/test_vector_api_client.py +++ b/packages/gen/integration_tests/document_grounding/test_vector_api_client.py @@ -316,4 +316,4 @@ def test_integration(self): # Verify deletion status after deletion. self.assertTrue(self.__class__.collection_id) response = self.client.get_collection_deletion_status(self.__class__.collection_id) - self.assertIn(response.status, ["DELETED", "PENDING"]) \ No newline at end of file + self.assertIn(response.status, ["DELETED", "PENDING"]) diff --git a/packages/gen/integration_tests/native_clients/test_sap_rpt.py b/packages/gen/integration_tests/native_clients/test_sap_rpt.py index 80a75dbc..3513fa27 100644 --- a/packages/gen/integration_tests/native_clients/test_sap_rpt.py +++ b/packages/gen/integration_tests/native_clients/test_sap_rpt.py @@ -233,4 +233,4 @@ async def test_apredict_by_columns(self): self.assertEqual(response.metadata.num_columns, 5) self.assertEqual(response.metadata.num_predictions, 1) self.assertIn("COSTCENTER", response.predictions[0].model_dump()) - self.assertNotIn("ID", response.predictions[0].model_dump()) \ No newline at end of file + self.assertNotIn("ID", response.predictions[0].model_dump()) diff --git a/packages/gen/integration_tests/orchestration_v2/test_content_filtering.py b/packages/gen/integration_tests/orchestration_v2/test_content_filtering.py index f478ca3b..ca4ca2c8 100644 --- a/packages/gen/integration_tests/orchestration_v2/test_content_filtering.py +++ b/packages/gen/integration_tests/orchestration_v2/test_content_filtering.py @@ -329,4 +329,4 @@ def test_blocked_input_filtering_with_azure_and_llama(self): config = OrchestrationConfig(modules=module_config) with self.assertRaises(OrchestrationError): - self.service.run(config=config) \ No newline at end of file + self.service.run(config=config) diff --git a/packages/gen/integration_tests/orchestration_v2/test_streaming.py b/packages/gen/integration_tests/orchestration_v2/test_streaming.py index 3b939296..d3b10c18 100644 --- a/packages/gen/integration_tests/orchestration_v2/test_streaming.py +++ b/packages/gen/integration_tests/orchestration_v2/test_streaming.py @@ -158,4 +158,4 @@ def test_output_filtering_with_stream_options_backward_compatibility(self): self.assertIsNotNone(chunk.intermediate_results.output_filtering) self.assertIsNotNone(chunk.intermediate_results.llm) number_of_chunks += 1 - self.assertGreater(number_of_chunks, 1, "Only one chunk received - stream seems to be buffered.") \ No newline at end of file + self.assertGreater(number_of_chunks, 1, "Only one chunk received - stream seems to be buffered.") diff --git a/packages/gen/integration_tests/prompt_registry/test_client.py b/packages/gen/integration_tests/prompt_registry/test_client.py index 981e4352..f62cdeff 100644 --- a/packages/gen/integration_tests/prompt_registry/test_client.py +++ b/packages/gen/integration_tests/prompt_registry/test_client.py @@ -275,4 +275,4 @@ def test_import_orchestration_config(self): def test_export_orchestration_config(self): response = self.client.export_orchestration_config(self.config.id) - self.assertEqual(type(response), bytes, "Exported config is not a byte stream") \ No newline at end of file + self.assertEqual(type(response), bytes, "Exported config is not a byte stream") diff --git a/packages/gen/integration_tests/prompt_registry/test_data/test_orchestration_config.yaml b/packages/gen/integration_tests/prompt_registry/test_data/test_orchestration_config.yaml index d9c6de70..9863d341 100644 --- a/packages/gen/integration_tests/prompt_registry/test_data/test_orchestration_config.yaml +++ b/packages/gen/integration_tests/prompt_registry/test_data/test_orchestration_config.yaml @@ -12,4 +12,4 @@ spec: response_format: type: json_object model: - name: gpt-4o \ No newline at end of file + name: gpt-4o diff --git a/packages/gen/integration_tests/prompt_registry/test_data/test_prompt_template.yaml b/packages/gen/integration_tests/prompt_registry/test_data/test_prompt_template.yaml index e454adb5..38ace276 100644 --- a/packages/gen/integration_tests/prompt_registry/test_data/test_prompt_template.yaml +++ b/packages/gen/integration_tests/prompt_registry/test_data/test_prompt_template.yaml @@ -6,4 +6,4 @@ spec: - role: "system" content: "{{ ?instruction }}" - role: "user" - content: "Some more {{ ?user_input }}" \ No newline at end of file + content: "Some more {{ ?user_input }}" diff --git a/packages/gen/local_development_evaluations.MD b/packages/gen/local_development_evaluations.MD index 10a556d5..137947a8 100644 --- a/packages/gen/local_development_evaluations.MD +++ b/packages/gen/local_development_evaluations.MD @@ -144,4 +144,4 @@ python -m build ## Additional Resources - [Integration Tests README](integration_tests/evaluations/README.md) -- [SDK Documentation](docs/SDK%20doc.md) \ No newline at end of file +- [SDK Documentation](docs/SDK%20doc.md) diff --git a/packages/gen/tests/document_grounding/pipeline/mock.py b/packages/gen/tests/document_grounding/pipeline/mock.py index 054d4da5..f6018eb9 100644 --- a/packages/gen/tests/document_grounding/pipeline/mock.py +++ b/packages/gen/tests/document_grounding/pipeline/mock.py @@ -109,4 +109,4 @@ MANUAL_TRIGGER_REQUEST = ManualPipelineTrigger( pipelineId=PIPELINE_ID, metadataOnly=True, -) \ No newline at end of file +) diff --git a/packages/gen/tests/document_grounding/retrieval/test_client.py b/packages/gen/tests/document_grounding/retrieval/test_client.py index 57a28cec..32343d47 100644 --- a/packages/gen/tests/document_grounding/retrieval/test_client.py +++ b/packages/gen/tests/document_grounding/retrieval/test_client.py @@ -49,4 +49,4 @@ def test_search(self, mock_post): mock_post.assert_called_once_with( path=f"{PATH_RETRIEVAL_API_}/search", body=RETRIEVAL_SEARCH_INPUT.model_dump(exclude_none=True) - ) \ No newline at end of file + ) diff --git a/packages/gen/tests/document_grounding/vector/test_client.py b/packages/gen/tests/document_grounding/vector/test_client.py index c9fd93ac..b0332004 100644 --- a/packages/gen/tests/document_grounding/vector/test_client.py +++ b/packages/gen/tests/document_grounding/vector/test_client.py @@ -143,4 +143,4 @@ def test_search(self, mock_post): mock_post.assert_called_once_with( path=f"{PATH_VECTOR_API_}/search", body=VECTOR_SEARCH_REQUEST.model_dump(exclude_none=True) - ) \ No newline at end of file + ) diff --git a/packages/gen/tests/evaluations/test_client.py b/packages/gen/tests/evaluations/test_client.py index acaad9e0..6a51f1e5 100644 --- a/packages/gen/tests/evaluations/test_client.py +++ b/packages/gen/tests/evaluations/test_client.py @@ -517,4 +517,4 @@ def test_get_system_supported_metrics(self): ): metrics = client.get_system_supported_metrics() - self.assertEqual(metrics, ["metric1", "metric2"]) \ No newline at end of file + self.assertEqual(metrics, ["metric1", "metric2"]) diff --git a/packages/gen/tests/orchestration/test_translation.py b/packages/gen/tests/orchestration/test_translation.py index 4dd956ff..cc653a98 100644 --- a/packages/gen/tests/orchestration/test_translation.py +++ b/packages/gen/tests/orchestration/test_translation.py @@ -98,4 +98,4 @@ def test_only_output_translation_module(self): self.assertEqual(output_translation_module_config["config"]["target_language"], "de-DE") self.assertEqual(output_translation_module_config["config"]["source_language"], "en-US") - self.assertIsNone(translation_module.input_translation, "Input translation module should be None.") \ No newline at end of file + self.assertIsNone(translation_module.input_translation, "Input translation module should be None.") diff --git a/packages/gen/tests/orchestration_v2/test_content_filter_v2.py b/packages/gen/tests/orchestration_v2/test_content_filter_v2.py index 925277d5..5990cc98 100644 --- a/packages/gen/tests/orchestration_v2/test_content_filter_v2.py +++ b/packages/gen/tests/orchestration_v2/test_content_filter_v2.py @@ -143,4 +143,4 @@ def test_llama_guard_content_filter_to_dict_backward_compatibility(self): } } - self.assertEqual(content_filter.model_dump(), expected_dict) \ No newline at end of file + self.assertEqual(content_filter.model_dump(), expected_dict) diff --git a/packages/gen/tests/orchestration_v2/test_request_obj_v2.py b/packages/gen/tests/orchestration_v2/test_request_obj_v2.py index aa95b1ce..a26a472d 100644 --- a/packages/gen/tests/orchestration_v2/test_request_obj_v2.py +++ b/packages/gen/tests/orchestration_v2/test_request_obj_v2.py @@ -54,4 +54,4 @@ def test_with_config_and_config_ref(self): def test_with_no_config_or_config_ref(self): with self.assertRaises(ValueError): - CompletionPostRequest() \ No newline at end of file + CompletionPostRequest() diff --git a/packages/gen/tests/orchestration_v2/test_template_ref_v2.py b/packages/gen/tests/orchestration_v2/test_template_ref_v2.py index f2d9b2b1..cf8cd7c7 100644 --- a/packages/gen/tests/orchestration_v2/test_template_ref_v2.py +++ b/packages/gen/tests/orchestration_v2/test_template_ref_v2.py @@ -32,4 +32,4 @@ def test_creates_instance_with_unsupported_scope(self): TemplateRefByScenarioNameVersion(scenario="test_scenario", name="test_name", version="test_version", - scope="unsupported_scope") \ No newline at end of file + scope="unsupported_scope") diff --git a/packages/gen/tests/orchestration_v2/test_translation_v2.py b/packages/gen/tests/orchestration_v2/test_translation_v2.py index c637655d..99c6f0f9 100644 --- a/packages/gen/tests/orchestration_v2/test_translation_v2.py +++ b/packages/gen/tests/orchestration_v2/test_translation_v2.py @@ -117,4 +117,4 @@ def test_translation_module_config_backward_compatibility(self): self.assertEqual(config_dict["input"]["type"], "sap_document_translation") self.assertEqual(config_dict["output"]["config"]["source_language"], "de-DE") self.assertEqual(config_dict["output"]["config"]["target_language"], "fr-FR") - self.assertEqual(config_dict["output"]["type"], "sap_document_translation") \ No newline at end of file + self.assertEqual(config_dict["output"]["type"], "sap_document_translation") diff --git a/packages/gen/tests/prompt_registry/test_flat_import_prompt_registry.py b/packages/gen/tests/prompt_registry/test_flat_import_prompt_registry.py index dec661e4..efefc29d 100644 --- a/packages/gen/tests/prompt_registry/test_flat_import_prompt_registry.py +++ b/packages/gen/tests/prompt_registry/test_flat_import_prompt_registry.py @@ -18,4 +18,4 @@ def test_not_flat_and_flat_import_by_name(): from gen_ai_hub.prompt_registry import OrchestrationConfigGetResponse as orchestration_config_get_response_flat from gen_ai_hub.prompt_registry.models.orchestration_config import (OrchestrationConfigGetResponse as orchestration_config_get_response) - assert orchestration_config_get_response_flat == orchestration_config_get_response \ No newline at end of file + assert orchestration_config_get_response_flat == orchestration_config_get_response diff --git a/packages/gen/tests/prompt_registry/test_pr_client.py b/packages/gen/tests/prompt_registry/test_pr_client.py index aba1b417..9eaedd8c 100644 --- a/packages/gen/tests/prompt_registry/test_pr_client.py +++ b/packages/gen/tests/prompt_registry/test_pr_client.py @@ -349,4 +349,4 @@ def test_export_orchestration_config(self, mock_get): response = self.test_client.export_orchestration_config(ORCHESTRATION_CONFIG_ID) self.assertEqual(response, ORCHESTRATION_CONFIG_YAML.encode('utf-8')) mock_get.assert_called_once_with(path=f'{PATH_REGISTRY_CONFIG}/{ORCHESTRATION_CONFIG_ID}/export', - return_bytes_content=True) \ No newline at end of file + return_bytes_content=True) diff --git a/packages/gen/tests/proxy/native/test_amazon.py b/packages/gen/tests/proxy/native/test_amazon.py index 0b994d1f..80ff96c6 100644 --- a/packages/gen/tests/proxy/native/test_amazon.py +++ b/packages/gen/tests/proxy/native/test_amazon.py @@ -434,4 +434,4 @@ async def test_context_manager_cleanup(self): def test_flat_import_amazon(): from gen_ai_hub.proxy.native.amazon import ClientWrapper as client_wrapper_flat_import from gen_ai_hub.proxy.native.amazon.clients import ClientWrapper as client_wrapper_nested_import - assert client_wrapper_flat_import == client_wrapper_nested_import \ No newline at end of file + assert client_wrapper_flat_import == client_wrapper_nested_import diff --git a/packages/gen/tests/proxy/native/test_sap_rpt.py b/packages/gen/tests/proxy/native/test_sap_rpt.py index 9e7bd07a..5e4184b9 100644 --- a/packages/gen/tests/proxy/native/test_sap_rpt.py +++ b/packages/gen/tests/proxy/native/test_sap_rpt.py @@ -206,4 +206,4 @@ async def test_async_request_with_response_code_2(self): def test_flat_import_sap_rpt_client(): from gen_ai_hub.proxy.native.sap.client import RPTClient as client from gen_ai_hub.proxy.native.sap import RPTClient as client_flat - assert client == client_flat \ No newline at end of file + assert client == client_flat