Skip to content

Commit 8c60da5

Browse files
gcf-owl-bot[bot]dizcology
authored andcommitted
chore(python): use black==22.3.0 (#243)
Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
1 parent 3620b84 commit 8c60da5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bigquery-reservation/snippets/reservation_create.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def create_reservation(
5858

5959
reservation = reservation_types.Reservation(slot_capacity=slot_capacity)
6060
reservation = reservation_client.create_reservation(
61-
parent=parent, reservation=reservation, reservation_id=reservation_id,
61+
parent=parent,
62+
reservation=reservation,
63+
reservation_id=reservation_id,
6264
)
6365

6466
print(f"Created reservation: {reservation.name}")

bigquery-reservation/snippets/reservation_update.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def update_reservation(
5959
project_id, location, reservation_id
6060
)
6161
reservation = reservation_types.Reservation(
62-
name=reservation_name, slot_capacity=slot_capacity,
62+
name=reservation_name,
63+
slot_capacity=slot_capacity,
6364
)
6465
field_mask = field_mask_pb2.FieldMask(paths=["slot_capacity"])
6566
reservation = reservation_client.update_reservation(

0 commit comments

Comments
 (0)