code: def check_metadata(self, value: NT) -> None:
      if self.min is not None and value < self.min:
          raise ValueError(
              f"'{value}' is less than the minimum value of '{self.min}'."
          )
  
      if self.max is not None and value > self.max:
          raise ValueError(
              f"'{value}' is greater than the maximum value of '{self.max}'."
          )
  
imports: from abc import ABC, abstractmethod
  from typing import Any, Generic, List, Literal, Optional, TypeVar, Union
  from argilla.server.enums import MetadataPropertyType
  from argilla.server.pydantic_v1 import BaseModel, Field
  from argilla.server.pydantic_v1.generics import GenericModel
label_desc: Use image node_id 1 for calling the NumericMetadataPropertySettings obj's underlying member method code with example usage: obj.check_metadata(value) without return types