Skip to content

Commit 2340790

Browse files
formatting
1 parent a4aee2f commit 2340790

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_opensearch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,13 @@ def test_index_df(client):
214214
print(response)
215215
assert response.get("success", 0) == 3
216216

217+
217218
def test_index_df_with_array(client):
218219
response = wr.opensearch.index_df(
219220
client,
220-
df=pd.DataFrame([{"_id": "1", "name": "John", "tags": ["foo", "bar"]}, {"_id": "2", "name": "George", "tags": ["foo"]}]),
221+
df=pd.DataFrame(
222+
[{"_id": "1", "name": "John", "tags": ["foo", "bar"]}, {"_id": "2", "name": "George", "tags": ["foo"]}]
223+
),
221224
index="test_index_df1",
222225
)
223226
print(response)

0 commit comments

Comments
 (0)