def serialize_argument_at_idx(idx, all_args, accessor, types):
 type_name = all_args[idx]['type']
 return serialize_type(type_name, accessor, types)

def serialize_argument_at_idx ( idx , all_args , accessor , types ) : type_name = all_args [ idx ] [ 'type' ] return serialize_type ( type_name , accessor , types )
for an argument at the given index .