title: Get Pycharm to see dynamically generated python modules
body: <p>Using Apache Airflow they install plugins by modifying <code>sys.modules</code> like this:</p>
  <pre><code> sys.modules[operators_module.__name__] = operators_module
  </code></pre>
  <p>Which is how they get python classes from their <code>plugins</code> folder to be imported via</p>
  <p><code>from airflow.operators.plugin_name import Operator</code></p>
  <p>even though the class <code>Operator</code> exists inside</p>
  <p><code>airflow/plugins/Operators.py</code></p>
  <p>This makes it impossible for PyCharm to understand the above import statement because it is a non-traditional way of generating module/module name.</p>
  <p><strong>Is there any way to get PyCharm to have something like a module/package alias for situations like these?</strong></p>