Skip to content

Commit e49ea76

Browse files
authored
fix: add type annotation to kwargs to fix docs build (#1917)
1 parent daa7ca4 commit e49ea76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

griptape/artifacts/url_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UrlArtifact(BaseArtifact):
1616

1717
value: str = field(metadata={"serializable": True})
1818

19-
def to_bytes(self, *, headers: dict | None = None, **kwargs) -> bytes:
19+
def to_bytes(self, *, headers: dict | None = None, **kwargs: dict) -> bytes:
2020
"""Fetches the content of the URL and returns it as bytes.
2121
2222
Args:

0 commit comments

Comments
 (0)