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:
parent
ae3099de60
commit
2896d04c79
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue