I am writing a class whose __init__ uses either an id OR a slug argument but not both. I'd like to verify that the arguments are as expected. Is it proper, and good-practice to use an uses either
I am writing a class whose __init__ uses either an id OR a slug argument but not both. I'd like to verify that the arguments are as expected. Is it proper, and good-practice to use an uses either