Session methods sort by C function name, not by the method name
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 128
- Forks
- 110
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 10
Description
Session methods are sorted alphabetically by C function name, not by its name used in Python API ('python_name' in metadata).
This is generally the same, but we support providing a manually entered "python_name" in functions_addon.py. In some cases, this means that the generated code shows up in the "wrong" place in the metadata.
Contributor guide
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.
Research direction
Start by reading functions_addon.py and trace how session methods are sorted before the generated metadata is produced. Confirm the ordering behavior for functions with a manually specified python_name. Done means generated metadata orders session methods by their Python API names rather than C function names, with the relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100