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_INSTANCE
to get the instance identifier. If it doesn’t find this variable, it connects to the instance that was connected withlamin connect
through the CLI.- Return type:
str
|tuple
|None