Skip to contents

This function can be used to import LaminDB Python modules with additional checks and nicer error messages.

Usage

import_module(module)

Arguments

module

The name of the Python module to import

Value

An object representing a Python package

Examples

if (FALSE) { # \dontrun{
# Import lamindb to start interacting with an instance
ln <- import_module("lamindb")

# Import other LaminDB modules
bt <- import_module("bionty")
wl <- import_module("wetlab")
cc <- import_module("clincore")

# Import any Python module
np <- import_module("numpy")
} # }