I have a Python class which needs to accept one of two mutually exclusive arguments. If the arguments are not exclusive, (ie: if both or neither are given), an error should be raised. In most scenarios, the best option would be to make two separate classes. However, I am working with an external API which requires these two attributes to