We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf252ed commit d365bdcCopy full SHA for d365bdc
1 file changed
examples/utils/example_helpers.py
@@ -18,7 +18,7 @@
18
import requests
19
20
21
-def get_printable_datetime():
+def get_printable_datetime() -> str:
22
"""Generates a string for the current date and time in local time zone.
23
24
The datetime string has the following format, where the trailing "sZ"
@@ -37,7 +37,7 @@ def get_printable_datetime():
37
)
38
39
40
-def get_image_bytes_from_url(url: str):
+def get_image_bytes_from_url(url: str) -> bytes:
41
"""Retrieves the raw bytes of an image from a url.
42
43
Args:
0 commit comments