lightspeed.trex.project_wizard.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.

class lightspeed.trex.project_wizard.core.ProjectWizardKeys(value)#

An enumeration.

pydantic model lightspeed.trex.project_wizard.core.ProjectWizardSchema#
Fields:
  • capture_file (pathlib.Path | None)

  • existing_mods (list[pathlib.Path] | None)

  • existing_project (bool)

  • extract_rtxio_overwrite_existing (bool)

  • extract_rtxio_packages (bool)

  • mod_file (pathlib.Path | None)

  • project_file (pathlib.Path)

  • remix_directory (pathlib.Path | None)

Validators:
  • _are_all_mod_files_valid » existing_mods

  • _is_capture_file_valid » capture_file

  • _is_mod_file_valid » mod_file

  • _is_project_file_valid » project_file

  • _is_remix_directory_valid » remix_directory

field capture_file: Path | None = None#
Validated by:
  • _is_capture_file_valid

field existing_mods: list[Path] | None = None#
Validated by:
  • _are_all_mod_files_valid

field existing_project: bool [Required]#
field extract_rtxio_overwrite_existing: bool = False#
field extract_rtxio_packages: bool = False#
field mod_file: Path | None = None#
Validated by:
  • _is_mod_file_valid

field project_file: Path [Required]#
Validated by:
  • _is_project_file_valid

field remix_directory: Path | None = None#
Validated by:
  • _is_remix_directory_valid

classmethod are_all_mod_files_valid(v, values: dict)#

Check that the paths are valid mod layers

classmethod is_capture_file_valid(v, values: dict)#

Check that the file is a valid capture file or None

classmethod is_mod_file_valid(v, values: dict)#

Check that the file is a valid mod file or None

classmethod is_project_file_valid(v, values: dict)#

Check that the path is a valid project file

classmethod is_remix_directory_valid(v, values: dict)#

Check that the path is a valid capture directory