Skip to content

Commit 2922be2

Browse files
authored
Merge pull request #4495 from wh201906/wh201906/fix_code
Fix example code of Python integration
2 parents 07dfc25 + e9192b2 commit 2922be2

File tree

1 file changed

+1
-1
lines changed
  • docs/integrations/language-clients/python

1 file changed

+1
-1
lines changed

docs/integrations/language-clients/python/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ with its intended purpose of providing a reusable object for repeated inserts of
967967

968968
```python
969969
test_data = [[1, 'v1', 'v2'], [2, 'v3', 'v4']]
970-
ic = test_client.create_insert_context(table='test_table', data='test_data')
970+
ic = test_client.create_insert_context(table='test_table', data=test_data)
971971
client.insert(context=ic)
972972
assert client.command('SELECT count() FROM test_table') == 2
973973
new_data = [[3, 'v5', 'v6'], [4, 'v7', 'v8']]

0 commit comments

Comments
 (0)