Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow viz height and width parameters #1348

Merged
merged 4 commits into from
Jan 26, 2024

Conversation

jorwoods
Copy link
Contributor

Add support to PDFRequestOptions for viz height and width.

Copy link
Contributor

@jacalata jacalata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -287,6 +309,15 @@ def get_query_params(self):
if self.max_age != -1:
params["maxAge"] = self.max_age

if (self.viz_height is None) ^ (self.viz_width is None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this operator is unusual enough that a comment would be helpful

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comment.

@jorwoods
Copy link
Contributor Author

Resolves #1324

@jacalata jacalata merged commit d09a9ce into tableau:development Jan 26, 2024
18 checks passed
@jorwoods jorwoods deleted the jorwoods/pdf_height_width branch March 16, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants