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 4e164b1 commit 1b658dbCopy full SHA for 1b658db
htmltools/_core.py
@@ -1540,7 +1540,13 @@ def as_html_tags(
1540
Render the dependency as a ``TagList()``.
1541
"""
1542
d = self.as_dict(lib_prefix=lib_prefix, include_version=include_version)
1543
- metas = [Tag("meta", **m) for m in self.meta]
+ metas = [
1544
+ Tag(
1545
+ "meta",
1546
+ **m, # pyright: ignore[reportArgumentType]
1547
+ )
1548
+ for m in self.meta
1549
+ ]
1550
links = [Tag("link", **s) for s in d["stylesheet"]]
1551
scripts = [Tag("script", **s) for s in d["script"]]
1552
return TagList(*metas, *links, *scripts, self.head)
0 commit comments