Skip to content

Raise TypeError for mutually exclusive arguments

This line should raise a TypeError, not an AssertionError:

# TODO: Can the nested `if` code be flattened without confusing the optimiser in Python 3.9?
if not TYPE_CHECKING:
 	if deserialiser and query:
 	 	raise TypeError(...)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information