Skip to content
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

Add python binding for UsdValidationError #3236

Conversation

roggiezhang-nv
Copy link
Contributor

Description of Change(s)

Add Python binding for UsdValidationError, UsdValidationErrorSite, and UsdValidationErrorType.

It is stacked on #3223, and #3232 for adding Python bindings for validator framework.

Fixes Issue(s)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@roggiezhang-nv
Copy link
Contributor Author

@nvmkuruc for vis.

@roggiezhang-nv roggiezhang-nv force-pushed the add_bind_for_usdvalidation_error branch from e4cd5ae to 51cae57 Compare August 19, 2024 03:06
@jesschimein
Copy link
Contributor

Filed as internal issue #USD-9995

@jesschimein
Copy link
Contributor

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jesschimein
Copy link
Contributor

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@roggiezhang-nv roggiezhang-nv force-pushed the add_bind_for_usdvalidation_error branch from e8831f8 to a048ccd Compare August 21, 2024 00:30
@jesschimein
Copy link
Contributor

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).



class TestUsdValidationError(unittest.TestCase):
def test_create_default_error_site(self):
Copy link
Contributor

@tallytalwar tallytalwar Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I have started syncing this one internally, I am addressing these but as a fyi the naming convention we seem to use here is test_CreateDefaultErrorSite, and _VerifyErrorSiteWithLayer, etc. Refer few examples here: https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/usd/usd/testenv/testUsdStage.py.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @roggiezhang-nv. I have already updated these internally for this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Thanks.

@pixar-oss pixar-oss merged commit d042184 into PixarAnimationStudios:dev Aug 24, 2024
5 checks passed
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.

4 participants