Skip to content

Commit 029d122

Browse files
committed
chore: fix minor mypy type complaint in samples
Signed-off-by: Hal Blackburn <hwtb2@cam.ac.uk>
1 parent a3291f5 commit 029d122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/http-image-cloudevents/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
image_bytes = resp.content
2626

2727

28-
def send_binary_cloud_event(url: str):
28+
def send_binary_cloud_event(url: str) -> None:
2929
# Create cloudevent
3030
attributes = {
3131
"type": "com.example.string",
@@ -42,7 +42,7 @@ def send_binary_cloud_event(url: str):
4242
print(f"Sent {event['id']} of type {event['type']}")
4343

4444

45-
def send_structured_cloud_event(url: str):
45+
def send_structured_cloud_event(url: str) -> None:
4646
# Create cloudevent
4747
attributes = {
4848
"type": "com.example.base64",

0 commit comments

Comments
 (0)