You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: AttributeError: 'TagifiedTag' object has no attribute 'insert' #2259
The result of .tagify() is now immutable. Calling .append, .extend, .insert, .add_class, __setitem__, or the context-manager with form on a tagified value raises AttributeError and is a static type error. Mutate on the buildable Tag / TagList side, then call .tagify() once to produce the render-ready result. (Investigate: make TagifiedTagList a real subclass instead of a type alias py-htmltools#116)
Activity
schloerke commentedon May 22, 2026
Fixed in #2244