PythonSourceFile context
const PythonSourceFileContext: ComponentContext<PythonSourceFileContext>Accessor
Section titled “Accessor”const myContext = useContext(PythonSourceFileContext);Context interface
Section titled “Context interface”| module | string | The module name for this file, e.g. ‘test’ for test.py |
| scope | PythonModuleScope |