@@ -78,8 +78,8 @@ def trace_integration(
78
78
capture_parameters : bool = False ,
79
79
enable_commenter : bool = False ,
80
80
db_api_integration_factory : type [DatabaseApiIntegration ] | None = None ,
81
- commenter_options : dict [str , Any ] | None = None ,
82
81
enable_attribute_commenter : bool = False ,
82
+ commenter_options : dict [str , Any ] | None = None ,
83
83
):
84
84
"""Integrate with DB API library.
85
85
https://www.python.org/dev/peps/pep-0249/
@@ -97,8 +97,8 @@ def trace_integration(
97
97
enable_commenter: Flag to enable/disable sqlcommenter.
98
98
db_api_integration_factory: The `DatabaseApiIntegration` to use. If none is passed the
99
99
default one is used.
100
- commenter_options: Configurations for tags to be appended at the sql query.
101
100
enable_attribute_commenter: Flag to enable/disable sqlcomment inclusion in `db.statement` span attribute. Only available if enable_commenter=True.
101
+ commenter_options: Configurations for tags to be appended at the sql query.
102
102
"""
103
103
wrap_connect (
104
104
__name__ ,
@@ -111,8 +111,8 @@ def trace_integration(
111
111
capture_parameters = capture_parameters ,
112
112
enable_commenter = enable_commenter ,
113
113
db_api_integration_factory = db_api_integration_factory ,
114
- commenter_options = commenter_options ,
115
114
enable_attribute_commenter = enable_attribute_commenter ,
115
+ commenter_options = commenter_options ,
116
116
)
117
117
118
118
0 commit comments