We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3291f5 commit 029d122Copy full SHA for 029d122
samples/http-image-cloudevents/client.py
@@ -25,7 +25,7 @@
25
image_bytes = resp.content
26
27
28
-def send_binary_cloud_event(url: str):
+def send_binary_cloud_event(url: str) -> None:
29
# Create cloudevent
30
attributes = {
31
"type": "com.example.string",
@@ -42,7 +42,7 @@ def send_binary_cloud_event(url: str):
42
print(f"Sent {event['id']} of type {event['type']}")
43
44
45
-def send_structured_cloud_event(url: str):
+def send_structured_cloud_event(url: str) -> None:
46
47
48
"type": "com.example.base64",
0 commit comments