@@ -1056,8 +1056,8 @@ <h1>Index</h1>
10561056
10571057
10581058 < ul >
1059- < li class ="mono "> < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration.__init__ "> __init__</ a > </ li >
10601059 < 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 >
10611061 </ ul >
10621062
10631063 </ li >
@@ -1181,9 +1181,6 @@ <h2 class="section-title" id="header-classes">Classes</h2>
11811181 < p id ="sentry_sdk.integrations.atexit.AtexitIntegration " class ="name "> class < span class ="ident "> AtexitIntegration</ span > </ p >
11821182
11831183
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 >
11871184 < div class ="source_cont ">
11881185 < p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration', this); "> Show source ≡</ a > </ p >
11891186 < div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration " class ="source ">
@@ -1218,7 +1215,7 @@ <h3>Ancestors (in MRO)</h3>
12181215 < ul class ="class_list ">
12191216 < li > < a href ="#sentry_sdk.integrations.atexit.AtexitIntegration "> AtexitIntegration</ a > </ li >
12201217 < li > sentry_sdk.integrations.Integration</ li >
1221- < li > builtins .object</ li >
1218+ < li > __builtin__ .object</ li >
12221219 </ ul >
12231220 < h3 > Class variables</ h3 >
12241221 < div class ="item ">
@@ -1243,31 +1240,6 @@ <h3>Class variables</h3>
12431240 </ div >
12441241 < h3 > Static methods</ h3 >
12451242
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-
12711243 < div class ="item ">
12721244 < div class ="name def " id ="sentry_sdk.integrations.atexit.AtexitIntegration.setup_once ">
12731245 < p > def < span class ="ident "> setup_once</ span > (</ p > < p > )</ p >
@@ -1276,12 +1248,6 @@ <h3>Static methods</h3>
12761248
12771249
12781250
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 >
12851251 < div class ="source_cont ">
12861252 < p class ="source_link "> < a href ="javascript:void(0); " onclick ="toggle('source-sentry_sdk.integrations.atexit.AtexitIntegration.setup_once', this); "> Show source ≡</ a > </ p >
12871253 < div id ="source-sentry_sdk.integrations.atexit.AtexitIntegration.setup_once " class ="source ">
@@ -1314,6 +1280,31 @@ <h3>Instance variables</h3>
13141280</ div >
13151281
13161282 </ 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+
13171308 </ div >
13181309 </ div >
13191310
0 commit comments