NiklasRosenstein / python-docspec

Docspec is a JSON object specification for representing API documentation of programming languages.
https://niklasrosenstein.github.io/python-docspec/
Other
16 stars 6 forks source link

What happened to load_python_modules(files=[]) ? #75

Closed tristanlatr closed 1 year ago

tristanlatr commented 2 years ago

load_python_modules used to have a files argument, which was very handy. But it seems it's been removed.

I used this feature in my test suite here: https://github.com/tristanlatr/pydocspec/blob/main/pydocspec/test/__init__.py#L47-L53 to ensure my pydocspec tests cases also passes with docspec generated trees.

Describe the solution you'd like The best would this argument to be supported.

Describe alternatives you've considered I'm not sure there is currently a workaround, I could simply copy the old function...

NiklasRosenstein commented 1 year ago

Hey @tristanlatr , sorry for the long silence. In case this is still relevant to you, I'm adding it back in #81 as per your request!