Skip to content

Commit 7baa46f

Browse files
committed
update table_name to name
1 parent 449f08e commit 7baa46f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyepsilla/cloud/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def create_table(self, table_name: str, table_fields: list[str] = None):
113113
if table_fields is None:
114114
table_fields = []
115115
req_url = "{}/table/create".format(self._baseurl)
116-
req_data = {"table_name": table_name, "fields": table_fields}
116+
req_data = {"name": table_name, "fields": table_fields}
117117
res = requests.post(
118118
url=req_url, data=json.dumps(req_data), headers=self._header, verify=False
119119
)

0 commit comments

Comments
 (0)