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: (