Db.add_variable() returns None
- Dominant language
- Python
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
### 🔍 Before submitting the issue
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### 🐞 Description of the bug
When we create a variable the add method is not returning the variable object.
But documentation example seems to show that it should be true
https://edb.core.docs.pyansys.com/version/stable/api/_autosummary/ansys.edb.core.database.Database.add_variable.html#ansys.edb.core.database.Database.add_variable
### 📝 Steps to reproduce
NA
### 💻 Which operating system are you using?
Windows
### 📀 Which ANSYS version are you using?
NA
### 🐍 Which Python version are you using?
3.9
### 📦 Installed packages
```shell
NA
```
Contributor guide
Research direction
Start at the Database.add_variable() entry point and compare its current return behavior with the linked API documentation example. Reproduce the reported call if possible and verify what value the method returns; done means the implementation and documentation agree on the return value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100