omni.flux.validator.manager.core#
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- pydantic model omni.flux.validator.manager.core.manager.ValidationSchema#
- Config:
validate_assignment: bool = True
- Fields:
check_plugins (list[omni.flux.validator.factory.plugins.check_base.Schema])context_plugin (omni.flux.validator.factory.plugins.context_base.Schema)on_finished_callback (collections.abc.Callable[[bool, str, bool], None] | None)on_progress_callback (collections.abc.Callable[[float, bool], None] | None)resultor_plugins (list[omni.flux.validator.factory.plugins.resultor_base.Schema] | None)
- Validators:
- field check_plugins: list[_CheckSchema] [Required]#
- Validated by:
- field context_plugin: _ContextSchema [Required]#
- field data: dict[Any, Any] | None = None#
- field finished: tuple[bool, str] = (False, 'Nothing')#
- Validated by:
_fire_finished_callback
- field name: str [Required]#
- field on_finished_callback: Callable[[bool, str, bool], None] | None = None#
- field on_progress_callback: Callable[[float, bool], None] | None = None#
- field progress: float = 0.0#
- Validated by:
_fire_progress_callback
- field resultor_plugins: list[_ResultorSchema] | None = None#
- field send_request: bool = False#
- field uuid: str | None = None#
- Validated by:
- field validation_passed: bool = False#
- validator at_least_one » check_plugins#
- update(
- data: dict,
This function updates the attributes of a ValidationSchema instance with new values provided in a dictionary. The update is performed recursively for nested models and lists within the model.
- omni.flux.validator.manager.core.manager.disable_exception_traceback()#
All traceback information is suppressed and only the exception type and value are printed