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 2465da4 commit 16f872fCopy full SHA for 16f872f
1 file changed
guidance/_utils.py
@@ -51,9 +51,7 @@ def bytes_from(
51
response = cast(http.client.HTTPResponse, response)
52
final_url = response.geturl()
53
if not isinstance(final_url, str):
54
- raise TypeError(
55
- f"Expected urlopen response URL to be a string, got {type(final_url).__name__}"
56
- )
+ raise TypeError(f"Expected urlopen response URL to be a string, got {type(final_url).__name__}")
57
if final_url != src:
58
validate_uri(
59
final_url,
0 commit comments