Matt Perpick
Matt Perpick
for example, ``` with execute(self.conn, sql, [VERSION_TABLE]) as cursor: return bool(cursor.fetchall()) ``` is the same as: ``` with contextlib.closing(self.conn.execute(sql, [VERSION_TABLE]) as cursor: return bool(cursor.fetchall()) ```
thinking about adding support for other databases. some thoughts: - keep migrations from depending on caribou, for simplicity's sake - pass in the cx string into migration methods, then people...
This pull request adds the ability to add callbacks to Anthropic LLM calls for observability and other use cases. It also adds the missing callback handler and tests. It follows...