def get_params_type(descriptor):
 params = descriptor.split(')')[0][1:].split()
 if params:
  return [param for param in params]
 return []

def get_params_type ( descriptor ) : params = descriptor . split ( ')' ) [ 0 ] [ 1 : ] . split ( ) if params : return [ param for param in params ] return [ ]
return the parameters type of a descriptor (e .