From 3c7be8e1090f8473b8f8ce2aeb0343c2e006b22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ianar=C3=A9=20S=C3=A9vi?= Date: Thu, 3 Dec 2026 15:22:20 +0100 Subject: [PATCH] :recycle: no need for overload --- .../base_classifier_product_parameters.rb | 10 ---------- .../base_classifier_product_parameters.rbs | 2 -- 2 files changed, 12 deletions(-) diff --git a/lib/mindee/v2/client_options/base_classifier_product_parameters.rb b/lib/mindee/v2/client_options/base_classifier_product_parameters.rb index b8a91db9..5568c484 100644 --- a/lib/mindee/v2/client_options/base_classifier_product_parameters.rb +++ b/lib/mindee/v2/client_options/base_classifier_product_parameters.rb @@ -49,16 +49,6 @@ def self.from_hash(params: {}) ) end - # Loads parameters from a Hash. - # @param [Hash] params Parameters to provide as a hash. - # @return [Hash] - def self.load_from_hash(params: {}) - cleaned_params = super - cleaned_params[:extraction_text_context] = - params[:extraction_text_context] || params['extraction_text_context'] - cleaned_params - end - # Gets the request parameters for the endpoint. # @return [Hash{String => String, Array}] def request_parameters diff --git a/sig/mindee/v2/client_options/base_classifier_product_parameters.rbs b/sig/mindee/v2/client_options/base_classifier_product_parameters.rbs index 011b8d47..b97624ee 100644 --- a/sig/mindee/v2/client_options/base_classifier_product_parameters.rbs +++ b/sig/mindee/v2/client_options/base_classifier_product_parameters.rbs @@ -6,8 +6,6 @@ module Mindee class BaseClassifierProductParameters < BaseProductParameters def self.from_hash: (params: Hash[String | Symbol, untyped]) -> BaseClassifierProductParameters - def self.load_from_hash: (params: Hash[String | Symbol, untyped]) -> Hash[String | Symbol, untyped] - attr_reader extraction_text_context: String? def initialize: (