Skip to content

PythonModuleScope

Extends PythonLexicalScope

addImport(targetSymbol: PythonOutputSymbol, targetModule: PythonModuleScope, options: AddImportOptions) => PythonOutputSymbol
addTypeImport() => PythonOutputSymbolAdd TYPE_CHECKING import from the typing module. Returns the local symbol for use in the if block opener.
debugInfoRecord<string, unknown>
importedModulesImportRecords
importedSymbolsMap<PythonOutputSymbol, PythonOutputSymbol>