Skip to content

Commit 9a60cf3

Browse files
committed
Fix python style check
1 parent f9fa03a commit 9a60cf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyspark/sql/functions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,10 +1396,13 @@ def check_string_field(field, fieldName):
13961396
res = sc._jvm.functions.window(time_col, windowDuration)
13971397
return Column(res)
13981398

1399+
13991400
@since(3.0)
14001401
@ignore_unicode_prefix
14011402
def session(timeColumn, gapDuration):
1403+
"""
14021404
# FIXME: python doc!!
1405+
"""
14031406
def check_string_field(field, fieldName):
14041407
if not field or type(field) is not str:
14051408
raise TypeError("%s should be provided as a string" % fieldName)

0 commit comments

Comments
 (0)