Add usageStatistics Param to view.get_by_id Method

Open Beginner friendly
#1,322 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Compare the server.views.get and server.views.get_by_id methods, focusing on how the existing usage=True option is passed through. Add the equivalent usageStatistics parameter to get_by_id so its returned view includes usage statistics, then verify the behavior against the Tableau Server REST API.

Written by the indexing model from the issue text.

Description

enhancement gap needs investigation

Summary

Add usageStatistics Param to view.get_by_id Method

Description

For TSC:
When you call server.views.get you have the option of setting usage=True. This will populate usage stats on the views that are returned.
However, you don't get the equivalent param on server.views.get_by_id.

That would be a nice to have.

Dominant language
Python
Stars
716
Forks
446
Avg merge
8d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tableau/server-client-python

All issues in tableau/server-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.