@@ -78,8 +78,8 @@ def trace_integration(
7878 capture_parameters : bool = False ,
7979 enable_commenter : bool = False ,
8080 db_api_integration_factory : type [DatabaseApiIntegration ] | None = None ,
81- commenter_options : dict [str , Any ] | None = None ,
8281 enable_attribute_commenter : bool = False ,
82+ commenter_options : dict [str , Any ] | None = None ,
8383):
8484 """Integrate with DB API library.
8585 https://www.python.org/dev/peps/pep-0249/
@@ -97,8 +97,8 @@ def trace_integration(
9797 enable_commenter: Flag to enable/disable sqlcommenter.
9898 db_api_integration_factory: The `DatabaseApiIntegration` to use. If none is passed the
9999 default one is used.
100- commenter_options: Configurations for tags to be appended at the sql query.
101100 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.
102102 """
103103 wrap_connect (
104104 __name__ ,
@@ -111,8 +111,8 @@ def trace_integration(
111111 capture_parameters = capture_parameters ,
112112 enable_commenter = enable_commenter ,
113113 db_api_integration_factory = db_api_integration_factory ,
114- commenter_options = commenter_options ,
115114 enable_attribute_commenter = enable_attribute_commenter ,
115+ commenter_options = commenter_options ,
116116 )
117117
118118
0 commit comments