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

  • https://www.apache.org/licenses/LICENSE-2.0

  • 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

  • https://www.apache.org/licenses/LICENSE-2.0

  • 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:
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#
validator sanitize_uuid  »  uuid#
update(
data: dict,
) ValidationSchema#

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