Module ImportTime
Import path
import semmle.python.types.ImportTimeImports
Classes
| ImportTimeScope | An ImportTimeScope is any scope that is not nested within a function and will thus be executed if its enclosing module is imported. Note however, that if a scope is not an ImportTimeScope it may still be executed at import time. This is an artificial approximation, which is necessary for static analysis. |