Hans Lellelid

Results 56 comments of Hans Lellelid

It is possible to cache raw binary data, though there's a little bit of support missing currently (more below). To get it basically working using your example above, though, you...

I'm having this issue as well, but in pydantic v2. It works fine in vanilla pydantic, but does not work with the `CloudEvent` -- or subclasses, as I am using....

We're using fastapi, so the workaround I'm using for the above nested-object serialization issue is: ```python from fastapi.encoders import jsonable_encoder jsonable_encoder(event.model_dump(mode="python")) ``` Which works ... but this used to work...

Hi folks -- I'll offer my $0.02 here, since I've spent a fair bit of time with both blocking (i.e. `requests`-based) and non-blocking / asyncio (`httpx`-based) frameworks. @futureshape , you're...

Yeah, I haven't seen an elegant way to support both sync and async. (I've seen libraries that support multiple asyncio frameworks, but even that can get fairly complex.) Probably the...

Hmm ... I am using that directive and it seemed to address an issue, but it sounds like I need to investigate further what might have been timing out and...

I should add that this code also works fine (and renders a chart) when placed in my `App.attached()` method: ``` let chart = new Chart(this.myChart, { type: 'bar', data: {...

Ok, thanks for checking my code. I will continue to investigate the issue. Now that I have a working version with raw Chart.js, I will build up the custom component...

Just to follow up, the issue appears to be with the width and height being set to "0" -- whether or not I attempt to set these on the ``...

Ok, well, I'm glad that I'm not just doing something stupid. I have not experimented with updates shrinking the chart (when working directly with chartjs), but I probably will have...