Description
Describe the bug
The viz_height and viz_width options were added to ImageRequestOptions (this is the merge). The resulting class has the properties, but it doesn't actually control the image resolution output.
Versions
Details of your environment, including:
- Tableau Server version (or note if using Tableau Online): 2024.2.2
- Python version: 3.11.2
- TSC library version: v0.36
To Reproduce
Code snippet:
image_req_option = TSC.ImageRequestOptions(viz_height=image_height,viz_width=image_width,maxage=-1)
print(f"TSC Image Height: {image_req_option.viz_height} TSC Image Width: {image_req_option.viz_width}")
self.server.views.populate_image(view, image_req_option)
I set the properties in the req_option, I print the properties to show they are set, then I populate the image with the given image_req_option.
Results
The resulting image only abides by the default behavior, or the High resolution request option. Maybe there's something I'm missing?
Print result:
Output resolution: