`get_project_roots_by_site_id` return value
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
Research direction
Search for the get_project_roots_by_site_id definition and read its implementation alongside the docstring. Align the documented return type with the observed dict[str, str] value, then check the surrounding API documentation or type hints for consistency.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior:
Calling:
ayon_api.get_project_roots_by_site_id(get_current_project_name())
will return just dict[str, str] like:
{'work': 'C:/projects'}
but the docstring states that the return value is dict[str, dict[str ,str]]
Expected Behavior:
Docstring should reflect real state otherwise IDEs will show wrong type hints.
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
Look at the function docstring
Are there any labels you wish to add?
- I have added the relevant labels to the bug report.
Relevant log output:
No response
Additional context:
No response
- Dominant language
- Python
- Stars
- 16
- Forks
- 15
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ynput/ayon-python-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ynput/ayon-python-api#351 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ynput/ayon-python-api#350 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ynput/ayon-python-api#199 ·
-
ynput/ayon-python-api#198 · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
ynput/ayon-python-api#182 ·
All issues in ynput/ayon-python-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·