Skip to content

Commit ed4956a

Browse files
SK-2833: update file upload request
1 parent 89d91ad commit ed4956a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skyflow/vault/data/_file_upload_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def __init__(self,
2121
stacklevel=2,
2222
)
2323
# Old positional order was: (table, skyflow_id, column_name, ...)
24-
skyflow_id = args[0] if len(args) >= 1 else skyflow_id
25-
column_name = args[1] if len(args) >= 2 else column_name
24+
skyflow_id = args[0] if args else skyflow_id
25+
column_name = args[1] if len(args) > 1 else column_name
2626
self.table = table
2727
self.skyflow_id = skyflow_id
2828
self.column_name = column_name

0 commit comments

Comments
 (0)