File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def create_score_definition(
102
102
103
103
# Optional mapping - Maps the variables in the data to the variables of the score object. It's not necessary to create a score definition.
104
104
105
- table = cls ._cas_management .get_table (server_name , library_name , table_name )
105
+ table = cls ._cas_management .get_table (table_name , library_name , server_name )
106
106
if not table and not table_file :
107
107
raise HTTPError (
108
108
f"This table may not exist in CAS. Please include the `table_file` argument in the function call if it doesn't exist."
@@ -111,7 +111,7 @@ def create_score_definition(
111
111
cls ._cas_management .upload_file (
112
112
str (table_file ), table_name
113
113
) # do I need to add a check if the file doesn't exist or does upload_file take care of that?
114
- table = cls ._cas_management .get_table (server_name , library_name , table_name )
114
+ table = cls ._cas_management .get_table (table_name , library_name , server_name )
115
115
if not table :
116
116
raise HTTPError (
117
117
f"The file failed to upload properly or another error occurred."
You can’t perform that action at this time.
0 commit comments