typedargs/metadata.py
def convert_positional_argument(self, index, arg_value):
        """Convert and validate a positional argument.

        Args:
            index (int): The positional index of the argument
            arg_value (object): The value to convert and validate

        Returns:
            object: The converted value.
        """

        # For bound methods, skip self
        if self._has_self:
            if index == 0:
                return arg_value

            index -= 1

        arg_name = self.arg_names[index]
        return self.convert_argument(arg_name, arg_value)
def convert_positional_argument(self, index, arg_value):
        # For bound methods, skip self
        if self._has_self:
            if index == 0:
                return arg_value

            index -= 1

        arg_name = self.arg_names[index]
        return self.convert_argument(arg_name, arg_value)
def convert_positional_argument ( self , index , arg_value ) : # For bound methods, skip self if self . _has_self : if index == 0 : return arg_value index -= 1 arg_name = self . arg_names [ index ] return self . convert_argument ( arg_name , arg_value )
Convert and validate a positional argument.

        Args:
            index (int): The positional index of the argument
            arg_value (object): The value to convert and validate

        Returns:
            object: The converted value.
Convert and validate a positional argument .