Skip to content

Commit 2a66e26

Browse files
committed
fixed lint error
1 parent da491d4 commit 2a66e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/spark/spark_driver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from typing import Optional
1111

1212
from sentry_sdk._types import Event, Hint
13+
from pyspark import SparkContext
1314

1415

1516
class SparkIntegration(Integration):
@@ -88,7 +89,6 @@ def process_event(event, hint):
8889

8990
def _activate_integration(sc):
9091
# type: (SparkContext) -> None
91-
from pyspark import SparkContext
9292

9393
_start_sentry_listener(sc)
9494
_set_app_properties()

0 commit comments

Comments
 (0)