Skip to content

Parent_id on projects always returning None #1775

@nicolaspollinbrotel-web

Description

Describe the bug
In a simple for loop displaying projects, field parent_id is always None

Versions
Details of your environment, including:
Python installed on Windows 11 Entreprise

  • Tableau Server version : 2023.3.7 (20233.24.0620.1242) 64-bit Linux
  • Python version : 3.14.3
  • TSC library version : tableauserverclient 0.40

To Reproduce

import tableauserverclient as TSC

tableau_auth = TSC.TableauAuth(matricule, mdp, '')
server = TSC.Server(myURL)

all_project_items, pagination_item = server.projects.get()
    for proj in all_project_items:
     print(proj.name)
     print(proj.parent_id)

Results
No error but below each project name, None is displayed for the entire list of projects :

Par défaut
None
Exemples Tableau
None
Cas Usage Chantier
None
Cas Usage Publiés
None
Sources de donées publiques
None
[...]
Tableau de bord feuilles de temps
None
Archive
None
Activités collaborateurs sur les projets
None

For one example of Project, I get :

{'project_name': 'RAD-LAD', 'project_id': '353d1ec6-5fd7-4bfa-8ef9-8b0b2e299e95', 'project_parent_id': None}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions