Skip to content

Commit

Permalink
Merge pull request #58 from truenas/kdf-flag
Browse files Browse the repository at this point in the history
add kfd hidden flag
  • Loading branch information
stavros-k authored Dec 4, 2024
2 parents 4c85322 + d763dbb commit 332c9c7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions catalog_reader/pytest/unit/test_normalize_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,15 @@
'hidden': False,
}
},
{
'variable': 'kfd_device_exists',
'label': 'KFD Device Exists',
'schema': {
'type': 'boolean',
'default': False,
'hidden': True,
}
},
{
'variable': 'nvidia_gpu_selection',
'label': 'Select NVIDIA GPU(s)',
Expand Down
9 changes: 9 additions & 0 deletions catalog_reader/questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ def normalize_question(question: dict, version_data: dict, context: dict) -> Non
'hidden': not show_all_gpus_flag,
}
},
{
'variable': 'kfd_device_exists',
'label': 'KFD Device Exists',
'schema': {
'type': 'boolean',
'default': False,
'hidden': True,
}
},
{
'variable': 'nvidia_gpu_selection',
'label': 'Select NVIDIA GPU(s)',
Expand Down

0 comments on commit 332c9c7

Please sign in to comment.