Skip to content

Commit b9f6327

Browse files
committed
patching register type from internal
1 parent 6e17021 commit b9f6327

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aws_xray_sdk/ext/psycopg2/patch.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ def patch():
2323
'quote_ident',
2424
_xray_register_type_fix
2525
)
26+
wrapt.wrap_function_wrapper(
27+
'psycopg2._json',
28+
'register_type',
29+
_xray_register_type_fix
30+
)
2631

2732

2833
def _xray_traced_connect(wrapped, instance, args, kwargs):

0 commit comments

Comments
 (0)