Ahmed Nafies
Jan 14, 2021

--

you should not create an instance of the class,

you should just pass the class itself

def test(param: MyModel=MyModel):

pass

--

--