Paul Weidner

Results 184 comments of Paul Weidner

You can't simply add a `user_email` field to that schema and expect it to be populated. Rather, you need to also create a User schema. Otherwise Pydantic won't now how...

Can we think about the query in the reverse direction? This should return only the ShiftDetails that belong to one user. (not tested) ... eg: ```python def get_shifts_by_owner_id( self, db_session:...

hmm, sorry that didn't work @tatdatpham! ☹️ I'm not sure what might be the issue. This likely isn't an issue with FastAPI, though

> I don't feel comfortable leaning on the "reduce duplicates" option. Any particular reason for this? I had thought that "reduce duplicates" meant some post-processing after the query is run...

> Makes me wonder what the edge cases of this might be... and where the limits are, if any, in practice... Yes I'm curious about this as well!

This would be a welcome change! We did something more rudimentary for our implementation of the layer switcher in farmOS-map: https://github.com/farmOS/farmOS-map/pull/101 One minor issue with this *proposed approach is that...

After looking closer at how the `fold` and `combine` layer group settings work I decided to make this functionality a setting on the layer group, too. If a layer group...

I added an `exclusive` layer to the basic usage example included with this commit: https://github.com/walkermatt/ol-layerswitcher/pull/360/commits/06750f50b7b8f980384de43262ccd81577666b1a > I'd be happy to move away from having to set type: 'base' on individual...

@walkermatt that looks great! Maybe `exclusiveGroup` instead of `groupName`? It's tricky.. breaking this down a bit.. one level is configuring the exclusivity on the group level, another is configuring it...

@chris-allnutt that's a great idea - but I don't think it is the case. My example that failed: `http://localhost/api/v1/farms/info?use_cached=false&farm_id=1` was the link I was redirected to. It seems like the...