We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e44b5e commit ffd0b8fCopy full SHA for ffd0b8f
tableauserverclient/server/request_options.py
@@ -309,6 +309,7 @@ def get_query_params(self):
309
if self.max_age != -1:
310
params["maxAge"] = self.max_age
311
312
+ # XOR. Either both are None or both are not None.
313
if (self.viz_height is None) ^ (self.viz_width is None):
314
raise ValueError("viz_height and viz_width must be specified together")
315
0 commit comments