you should not create an instance of the class,
you should just pass the class itself
def test(param: MyModel=MyModel):
pass
you should not create an instance of the class,
you should just pass the class itself
def test(param: MyModel=MyModel):
pass
--
Software Developer
Love podcasts or audiobooks? Learn on the go with our new app.