Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

feat: allow viz height and width parameters#1348

Merged
jacalata merged 4 commits intotableau:developmenttableau/server-client-python:developmentfrom
jorwoods:jorwoods/pdf_height_widthjorwoods/server-client-python:jorwoods/pdf_height_widthCopy head branch name to clipboard
Jan 26, 2024
Merged

feat: allow viz height and width parameters#1348
jacalata merged 4 commits intotableau:developmenttableau/server-client-python:developmentfrom
jorwoods:jorwoods/pdf_height_widthjorwoods/server-client-python:jorwoods/pdf_height_widthCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.