```
class params:
  a = 1
  b = 2
  c = 3
  d = 4

```

I know it is not possible to pass all four elements of the class to a function, which takes a total of four parameters by just doing 

> 
> function(class)
> 
> 
> 

Is this the only way

> 
> function(a,b,c,d)
> 
> 
> 

or is there an other solution?