This repository was archived by the owner on Jan 19, 2025. It is now read-only.
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Incorrect pname
properties created by api
command #525
Closed
Description
Describe the bug
The api
command creates incorrect pname
properties for methods:
"qname": "sklearn.gaussian_process.kernels.Exponentiation.__call__.eval_gradient",
"pname": "sklearn/sklearn.gaussian_process.kernels/Exponentiation__call__/eval_gradient",
Notice the missing slash in Exponentiation__call__
.
To Reproduce
Steps to reproduce the behavior:
- Run the
api
command:
cd package_parser
poetry run parse-package api -p sklearn -o out
- Check the
pname
property of methods.
Expected behavior
This should be created instead:
"qname": "sklearn.gaussian_process.kernels.Exponentiation.__call__.eval_gradient",
"pname": "sklearn/sklearn.gaussian_process.kernels/Exponentiation/__call__/eval_gradient",