Skip to content

Commit 2896d04

Browse files
authored
fix: merge strings on same line into single string (cloudevents#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>
1 parent ae3099d commit 2896d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/http-json-cloudevents/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def send_binary_cloud_event(url):
3131

3232
# send and print event
3333
requests.post(url, headers=headers, data=body)
34-
print(f"Sent {event['id']} from {event['source']} with " f"{event.data}")
34+
print(f"Sent {event['id']} from {event['source']} with {event.data}")
3535

3636

3737
def send_structured_cloud_event(url):
@@ -47,7 +47,7 @@ def send_structured_cloud_event(url):
4747

4848
# send and print event
4949
requests.post(url, headers=headers, data=body)
50-
print(f"Sent {event['id']} from {event['source']} with " f"{event.data}")
50+
print(f"Sent {event['id']} from {event['source']} with {event.data}")
5151

5252

5353
if __name__ == "__main__":

0 commit comments

Comments
 (0)