8000 Add handling for workbooks in personal spaces which will not have pro… by bcantoni · Pull Request #875 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Add handling for workbooks in personal spaces which will not have pro… #875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 28, 2021

Conversation

bcantoni
Copy link
Contributor

WIP testing a fix for #873

@t8y8
Copy link
Collaborator
t8y8 commented Aug 24, 2021

Does the REST API return anything for the container type, I know in the metadata API we say "containerType" and "containerName" -- it would be nicer if we just modeled that rather than had fake strings.

We could also just make project_id not required on the model and allow it to be none, then handle that in the Serializer.

Fake rando strings feels like my 3rd choice.

(Side note, I seem to have lost my commit bit, was that intentional?)

@bcantoni
Copy link
Contributor Author

@t8y8 I don't see anything in the REST response like that. Instead maybe it's simpler to change the class instantiation from using project_id to just the workbook id (which should always be there and should be unique).

Also I'm not sure where you were dropped, it may have been from team membership changes. In any case I've added you back here with permissions.

@t8y8
8000 Copy link
Collaborator
t8y8 commented Aug 25, 2021

@t8y8 I don't see anything in the REST response like that. Instead maybe it's simpler to change the class instantiation from using project_id to just the workbook id (which should always be there and should be unique).

Yeah, that seems reasonable, and it cleans up WorkbookItem a bit. The lowest impact change it to make project_id be project_id=None in the signature, and then handle it later down in WorkbookRequest serializers, if it's None don't add a Project element. A larger refactor is to get rid of project_id all together, or move it as a keyword-only argument, and the new way to set a project would just be workbook.project_id = ProjectItem or id string. I think both are fine approaches, one is riskier.

On the side, it's probably worth pinging whatever team owns that now (Personal Spaces, I guess) because it's a miss, imo, that the REST API doesn't include the information. We could update WorkbookItem to handle personal spaces at a later time.

@matthieucan
Copy link

Hello,
I believe this is a fix for a bug that is hitting our prod since ~1 week. We are unable to run any of our Tableau-related jobs, which all try to retrieve lists of workbooks.
Would it be possible to provide us with an ETA for a resolution and a bugfix release?
Many thanks in advance!

@ChristophGmeiner
Copy link

Hello,
I believe this is a fix for a bug that is hitting our prod since ~1 week. We are unable to run any of our Tableau-related jobs, which all try to retrieve lists of workbooks.
Would it be possible to provide us with an ETA for a resolution and a bugfix release?
Many thanks in advance!

Same here!

@jacalata
Copy link
Contributor

The fake uuid is not ideal but will definitely get people unblocked here, so worth going ahead with.

@matthieucan
Copy link

The fake uuid is not ideal but will definitely get people unblocked here, so worth going ahead with.

Sounds good, when can we expect it?

@adeturckheim
Copy link

Hi there, anything blocking this merge request? That's a blocker for us

@jacalata jacalata merged commit 5e38225 into development Sep 28, 2021
@matthieucan
Copy link

Hi @jacalata,
Thank you for merging 🙏 Could you give an estimate on when the next release including this fix is likely to happen?

@alexandruandrei90
Copy link

Hi, thank you for merging the change - do you know when this will be released?

@jacalata
Copy link
Contributor
jacalata commented Oct 4, 2021

It should be this week.

@alexandruandrei90
Copy link

Hi, are there any updates on the release?

@jacalata jacalata deleted the handle-personal-space-workbooks branch March 24, 2022 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants
0