Skip to content

pdoc adds numpy functions to the html of one of my modules #307

Open
@jsanchez679

Description

@jsanchez679
Hi!

I just installed pdoc3 in an Anaconda virtual environment and generated the htmls of a group of modules. The html are all generated but I get the next user warning in the process:

_html_mako:329: UserWarning: Error handling return annotation for <Function 'morphoHeart_modules.morphoHeart_funcContours.rand'>
_html_mako:329: UserWarning: Error handling return annotation for <Function 'morphoHeart_modules.morphoHeart_funcContours.randn'>

and when I open the module (morphoHeart_funcContours) a lot of functions from numpy.random have been added to the module. See images below.

image

image

I double checked and I don't use the random functions of numpy anywhere and any of my variables have a name similar to rand.
Is there a way I can fix this?

Hope to hear from you soon.
best,
Juliana

Additional info

  • pdoc version: 0.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions