Skip to main content

Module bundle_import

Module bundle_import 

Source
Expand description

Import a Python config module as bundle-local variables (Phase 24.1).

Twin of src/ts/bundle-import.ts, pinned by tests/fixtures/parity/bundle-import.json. The assignment subset only: string and f-string literals, ints, floats, True/False/None. Nothing is executed; any other right-hand side is imported as source text with a warning naming the line. See the TypeScript header for the rules (duplicate names, large ids, f-strings holding only plain names).

Structs§

BundleImport
ImportedVar

Functions§

import_python_config