Skip to content

Commit 57ec09b

Browse files
committed
added types
1 parent cb743a9 commit 57ec09b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/fixtures/test_connect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import os
22
from pytest import fixture
3+
from pyspark.sql.session import SparkSession
34
from databricks.connect import DatabricksSession
5+
from databricks.sdk import WorkspaceClient
46

57

68
@fixture
@@ -55,7 +57,7 @@ def test_databricks_connect_serverless_set_cluster_id(ws, spark_serverless_clust
5557
assert not creator # serverless clusters don't have assigned creator
5658

5759

58-
def get_cluster_creator(spark, ws):
60+
def get_cluster_creator(spark: SparkSession, ws: WorkspaceClient) -> str:
5961
"""
6062
Get the creator of the cluster that the Spark session is connected to.
6163
"""

0 commit comments

Comments
 (0)