ansys / ansys/pyhps

enable queries over the set of files supported by project API method copy_default_execution_script

Open
#393 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5
Forks
1
Avg merge
1d 21h
Merged PRs (30d)
9

Description

### 📝 Description of the feature

## problem

it is not possible to determine the set of arguments that copy_default_execution_script supports
for example you can't create a drop down list in a UI through which a user could select a script

## suggested solution

add project api method ``get_default_execution_scripts(**query_parameters)`` where query parameters can be version and product and other fields that are relevant in the script naming scheme.

the result is a list of script names that can be passed to copy_default_execution_script
(the get_default_execution_scripts method shouldn't copy the files)

### 💡 Steps for implementing the feature

_No response_

### 🔗 Useful links and references

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing project API method copy_default_execution_script and how its supported script names are determined. Define the relevant query parameters for get_default_execution_scripts and ensure it returns names without copying files; verify that each returned name can be passed to copy_default_execution_script.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.