Skip to content

Commit

Permalink
Add group to record types.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Jul 7, 2024
1 parent 492b412 commit 64e2ea6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dbt/adapters/postgres/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class PostgresRecordReplayHandle(RecordReplayHandle):
# PAW: Wrap
def cursor(self):
cursor = None if self.native_handle is None else self.native_handle.cursor()
return PostgresRecordReplayCursor(cursor, self.connection)
Expand All @@ -22,12 +21,11 @@ class CursorGetStatusMessageResult:
msg: Optional[str]


@Recorder.register_record_type
class CursorGetStatusMessageRecord(Record):
params_cls = CursorGetStatusMessageParams
result_cls = CursorGetStatusMessageResult


Recorder.register_record_type(CursorGetStatusMessageRecord)
group = "Database"


class PostgresRecordReplayCursor(RecordReplayCursor):
Expand Down

0 comments on commit 64e2ea6

Please sign in to comment.