Connection

class getml.database.Connection(conn_id: str = 'default')[source]

Bases: object

A handle to a database connection on the getML engine.

Args:
conn_id (str, optional):

The name you want to use to reference the connection. You can call it anything you want to. If a database connection with the same conn_id already exists, that connection will be removed automatically and the new connection will take its place. The default conn_id is “default”, which refers to the default connection. If you do not explicitly pass a connection handle to any function that relates to a database, the default connection will be used automatically.