Skip to content

feat: allow viz height and width parameters#1348

Merged
jacalata merged 4 commits intotableau:developmentfrom
jorwoods:jorwoods/pdf_height_width
Jan 26, 2024
Merged

feat: allow viz height and width parameters#1348
jacalata merged 4 commits intotableau:developmentfrom
jorwoods:jorwoods/pdf_height_width

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!

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
@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.

2 participants