Skip to content

'Views' object has no attribute 'get_by_id'. #877

@mauropasi

Description

@mauropasi

Describe the bug
SERVER.views.get_by_id('some_id')
returns 'Views' object has no attribute 'get_by_id'.

It works with other endpoints, like workbooks for example.

On a separate note. It is missing an 's' in the example code in the docs:
https://tableau.github.io/server-client-python/docs/api-ref#views
view = server.view.get_by_id

Versions
Details of your environment, including:

  • Tableau Server version: 2020.4
  • Python version: 3.7
  • TSC library version: 3.10
  • Package: tableauserverclient 0.15.0

To Reproduce
SERVER.views.get_by_id('some_id')

Results
'Views' object has no attribute 'get_by_id'.

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions