Skip to content

Commit 4910f59

Browse files
committed
linting
1 parent ba80e5a commit 4910f59

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

samples/samples/pg_snippets.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,9 +1376,10 @@ def update_data_with_jsonb(instance_id, database_id):
13761376
database = instance.database(database_id)
13771377
"""
13781378
PG JSONB takes the last value in the case of duplicate keys.
1379-
PG JSONB sorts first by key length and then lexicographically with
1379+
PG JSONB sorts first by key length and then lexicographically with
13801380
equivalent key length.
13811381
"""
1382+
13821383
with database.batch() as batch:
13831384
batch.update(
13841385
table="Venues",
@@ -1390,7 +1391,7 @@ def update_data_with_jsonb(instance_id, database_id):
13901391
[
13911392
JsonObject({"name": None, "open": True}),
13921393
JsonObject(
1393-
{"name": "room 2", "open": False, "name": "room 3"}
1394+
{"name": "room 2", "open": False}
13941395
),
13951396
]
13961397
),

0 commit comments

Comments
 (0)