`get_project_roots_by_site_id` return value
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 16
- Forks
- 15
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Suche nach der Definition von get_project_roots_by_site_id und lies ihre Implementierung zusammen mit dem Docstring. Gleiche den dokumentierten Rückgabetyp an den beobachteten Wert dict[str, str] an und prüfe anschließend die umgebende API-Dokumentation oder die Typannotationen auf Konsistenz.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100