Skip to content

Provide quiet status specialization for python #3609

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

nvmkuruc
Copy link
Collaborator

Description of Change(s)

Tf_PythonCallContext assumes that a valid moduleName and functionName are available and joins them with .. However, when Tf.Status is called with verbose=False, moduleName and functionName are both empty.

This yields a non-empty fullName of . when consumed by downstream diagnostic delegates that could be confusing.

This PR introduces a "quiet" version of _Status which bypasses Tf_PyCallContext and provides an explicitly empty TfCallContext.

Link to proposal (if applicable)

Fixes Issue(s)

#3311

Checklist

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10934

(This is an automated message. See here for more information.)

@jesschimein
Copy link
Collaborator

/AzurePipelines run

2 similar comments
@tallytalwar
Copy link
Contributor

/AzurePipelines run

@jesschimein
Copy link
Collaborator

/AzurePipelines run

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.

3 participants