lamindb.connect¶
- lamindb.connect(instance=None, **kwargs)¶
Connect to an instance.
- Parameters:
instance (
str|None, default:None) – Pass a slug (account/name) or URL (https://lamin.ai/account/name). IfNone, looks for an environment variableLAMIN_CURRENT_INSTANCEto get the instance identifier. If it doesn’t find this variable, it connects to the instance that was connected withlamin connectthrough the CLI.- Return type:
str|tuple|None