Skip to content

Commit

Permalink
fix: add docs for adapter.connection_id (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
tconbeer authored Aug 16, 2024
1 parent 18af2fd commit 74f985a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docs/contributing/adapter-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ The first is the `HarlequinAdapter`, which is initialized with `conn_str` (a tup

The primary purpose of an adapter is to provide its `connect()` method, which creates and returns an instance of `HarlequinConnection`.

Optionally, adapters may implement a `connection_id` property that uniquely identifies the connection in a manner that is stable between Harlequin invocations. Harlequin uses this `connection_id` to persist and retrieve the data catalog and query history across invocations of Harlequin.

### HarlequinConnection

A connection must provide two methods: `get_catalog` and `execute`.
Expand Down

0 comments on commit 74f985a

Please sign in to comment.