Skip to content

Commit

Permalink
feat: add Samples section to CONTRIBUTING.rst (#181)
Browse files Browse the repository at this point in the history
Source-Link: googleapis/synthtool@52e4e46
Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:6186535cbdbf6b9fe61f00294929221d060634dae4a0795c1cefdbc995b2d605
  • Loading branch information
gcf-owl-bot[bot] authored and leahecole committed Jul 11, 2023
1 parent 13f8163 commit e39cdb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions bigquery-datatransfer/snippets/manage_transfer_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ def schedule_backfill(override_values={}):
)

response = transfer_client.schedule_transfer_runs(
parent=transfer_config_name,
start_time=start_time,
end_time=end_time,
parent=transfer_config_name, start_time=start_time, end_time=end_time,
)

print("Started transfer runs:")
Expand Down
3 changes: 1 addition & 2 deletions bigquery-datatransfer/snippets/run_notification_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

def test_run_notification(capsys, transfer_config_name, pubsub_topic):
run_notification.run_notification(
transfer_config_name=transfer_config_name,
pubsub_topic=pubsub_topic,
transfer_config_name=transfer_config_name, pubsub_topic=pubsub_topic,
)
out, _ = capsys.readouterr()
assert "Updated config:" in out
Expand Down

0 comments on commit e39cdb9

Please sign in to comment.