'cannot find reference' warning due to dynamic dispatch

Calls to numpy's random.normal() method causes PyCharm to report a 'cannot find reference' warning because normal is dynamically dispatched at runtime:

import numpy as np
X = np.random.normal(0, 1, n)

I do not wish to disable all 'cannot find reference' warnings, even if that is possible, because such warnings are usually something I want to know about. Is there some elegant Way to satisfy PyCharm so that it does not report this as a warning?


Please sign in to leave a comment.