@@ -1056,8 +1056,8 @@ <h1>Index</h1>
1056
1056
1057
1057
1058
1058
< ul >
1059
- < li class ="mono "> < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration.__init__ "> __init__</ a > </ li >
1060
1059
< li class ="mono "> < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration.setup_once "> setup_once</ a > </ li >
1060
+ < li class ="mono "> < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration.__init__ "> __init__</ a > </ li >
1061
1061
</ ul >
1062
1062
1063
1063
</ li >
@@ -1181,9 +1181,6 @@ <h2 class="section-title" id="header-classes">Classes</h2>
1181
1181
< p id ="sentry_sdk.integrations.atexit.AtexitIntegration " class ="name "> class < span class ="ident "> AtexitIntegration</ span > </ p >
1182
1182
1183
1183
1184
- < div class ="desc "> < p > Baseclass for all integrations.</ p >
1185
- < p > To accept options for an integration, implement your own constructor that
1186
- saves those options on < code > self</ code > .</ p > </ div >
1187
1184
< div class ="source_cont ">
1188
1185
< p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration', this); "> Show source ≡</ a > </ p >
1189
1186
< div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration " class ="source ">
@@ -1218,7 +1215,7 @@ <h3>Ancestors (in MRO)</h3>
1218
1215
< ul class ="class_list ">
1219
1216
< li > < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration "> AtexitIntegration</ a > </ li >
1220
1217
< li > sentry_sdk.integrations.Integration</ li >
1221
- < li > builtins .object</ li >
1218
+ < li > __builtin__ .object</ li >
1222
1219
</ ul >
1223
1220
< h3 > Class variables</ h3 >
1224
1221
< div class ="item ">
@@ -1243,31 +1240,6 @@ <h3>Class variables</h3>
1243
1240
</ div >
1244
1241
< h3 > Static methods</ h3 >
1245
1242
1246
- < div class ="item ">
1247
- < div class ="name def " id ="sentry_sdk.integrations.atexit.AtexitIntegration.__init__ ">
1248
- < p > def < span class ="ident "> __init__</ span > (</ p > < p > self, callback=None)</ p >
1249
- </ div >
1250
-
1251
-
1252
-
1253
-
1254
- < div class ="desc "> < p > Initialize self. See help(type(self)) for accurate signature.</ p > </ div >
1255
- < div class ="source_cont ">
1256
- < p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration.__init__', this); "> Show source ≡</ a > </ p >
1257
- < div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration.__init__ " class ="source ">
1258
- < div class ="codehilite "> < pre > < span > </ span > < span class ="k "> def</ span > < span class ="fm "> __init__</ span > < span class ="p "> (</ span > < span class ="bp "> self</ span > < span class ="p "> ,</ span > < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="bp "> None</ span > < span class ="p "> ):</ span >
1259
- < span class ="c1 "> # type: (Optional[Any]) -> None</ span >
1260
- < span class ="k "> if</ span > < span class ="n "> callback</ span > < span class ="ow "> is</ span > < span class ="bp "> None</ span > < span class ="p "> :</ span >
1261
- < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="n "> default_callback</ span >
1262
- < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="n "> callback</ span >
1263
- </ pre > </ div >
1264
-
1265
- </ div >
1266
- </ div >
1267
-
1268
- </ div >
1269
-
1270
-
1271
1243
< div class ="item ">
1272
1244
< div class ="name def " id ="sentry_sdk.integrations.atexit.AtexitIntegration.setup_once ">
1273
1245
< p > def < span class ="ident "> setup_once</ span > (</ p > < p > )</ p >
@@ -1276,12 +1248,6 @@ <h3>Static methods</h3>
1276
1248
1277
1249
1278
1250
1279
- < div class ="desc "> < p > Initialize the integration.</ p >
1280
- < p > This function is only called once, ever. Configuration is not available
1281
- at this point, so the only thing to do here is to hook into exception
1282
- handlers, and perhaps do monkeypatches.</ p >
1283
- < p > Inside those hooks < code > Integration.current</ code > can be used to access the
1284
- instance again.</ p > </ div >
1285
1251
< div class ="source_cont ">
1286
1252
< p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration.setup_once', this); "> Show source ≡</ a > </ p >
1287
1253
< div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration.setup_once " class ="source ">
@@ -1314,6 +1280,31 @@ <h3>Instance variables</h3>
1314
1280
</ div >
1315
1281
1316
1282
</ div >
1283
+ < h3 > Methods</ h3 >
1284
+
1285
+ < div class ="item ">
1286
+ < div class ="name def " id ="sentry_sdk.integrations.atexit.AtexitIntegration.__init__ ">
1287
+ < p > def < span class ="ident "> __init__</ span > (</ p > < p > self, callback=None)</ p >
1288
+ </ div >
1289
+
1290
+
1291
+
1292
+
1293
+ < div class ="source_cont ">
1294
+ < p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration.__init__', this); "> Show source ≡</ a > </ p >
1295
+ < div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration.__init__ " class ="source ">
1296
+ < div class ="codehilite "> < pre > < span > </ span > < span class ="k "> def</ span > < span class ="fm "> __init__</ span > < span class ="p "> (</ span > < span class ="bp "> self</ span > < span class ="p "> ,</ span > < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="bp "> None</ span > < span class ="p "> ):</ span >
1297
+ < span class ="c1 "> # type: (Optional[Any]) -> None</ span >
1298
+ < span class ="k "> if</ span > < span class ="n "> callback</ span > < span class ="ow "> is</ span > < span class ="bp "> None</ span > < span class ="p "> :</ span >
1299
+ < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="n "> default_callback</ span >
1300
+ < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> callback</ span > < span class ="o "> =</ span > < span class ="n "> callback</ span >
1301
+ </ pre > </ div >
1302
+
1303
+ </ div >
1304
+ </ div >
1305
+
1306
+ </ div >
1307
+
1317
1308
</ div >
1318
1309
</ div >
1319
1310
0 commit comments