Emil Stenström
Emil Stenström
@dylanjcastillo So maybe there should be a view you can call to update the deps as well? Or to we include the new deps in the response from the server...
Could you give an example of how you would like the code to work?
@lemontheme It's relatively new, so I think it's ok to drop. Agreed that a is_filled filter is probably a nicer API.
I think the first thing to consider is the API. Looking at the `"header"|is_filled` example it is a bit strange that the filter has context other than the string. Maybe...
@nerdoc This is a good suggestion. I'm a bit worried that slot names are strings today, so I think they can contain a space. Is `is_filled."my slot"` valid template code?...
So in our case the API would be: `{% if variable > 8 and slots.header %}`? Two questions: 1. What happens if there's already a slots variable in the context?...
So, we're talking about breaking existing code that uses `{% slot "my slot" %}`? I think that's a bad idea. One alternative to this would be to make that slot...
This is now available in the xmltodict version that is on PyPI. **Unfortunately it doesn't work when there are multiple comments on the top level of the document:** ```xml
Also, seems like serializing with unparse doesn't work either yet. In the output I get nodes line `comment text here`
Nice! Happy to see it disambiguate Swedish. Looking at that specific example, the things it mentions are not entities, but they are “concepts”. Translated: “year”, “consumption”, “health”. Is that intentional?