fix: merge strings on same line into single string (#153)

* fix: merge strings on same line into single string

Signed-off-by: Lucas Bickel <hairmare@rabe.ch>

* chore: blacken example

Signed-off-by: Lucas <lucas.bickel@adfinis.com>
This commit is contained in:
Lucas Bickel 2022-07-10 15:04:23 +02:00 committed by GitHub
parent ae3099de60
commit 2896d04c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ def send_binary_cloud_event(url):
# send and print event
requests.post(url, headers=headers, data=body)
print(f"Sent {event['id']} from {event['source']} with " f"{event.data}")
print(f"Sent {event['id']} from {event['source']} with {event.data}")
def send_structured_cloud_event(url):
@ -47,7 +47,7 @@ def send_structured_cloud_event(url):
# send and print event
requests.post(url, headers=headers, data=body)
print(f"Sent {event['id']} from {event['source']} with " f"{event.data}")
print(f"Sent {event['id']} from {event['source']} with {event.data}")
if __name__ == "__main__":