Nested List Comprehension Syntax
I have a list of objects and would like to transform it into a list of lists of objects. That sounds like the start of tongue twister so it may be easier to demonstrate visually:
faff of a techy nature
I have a list of objects and would like to transform it into a list of lists of objects. That sounds like the start of tongue twister so it may be easier to demonstrate visually:
I discovered recently that I could create a custom response class for use with FastAPI and that I could use this to create a pretty printed json-like reponse for my API. I didn’t want to force all my responses to...
I had a spot of bother trying to construct an OR query using the python elasticsearch_dsl. My end game was to retrieve elastic documents that referenced particular controlled terms (eg. styles or materials) in their record.
Last week I got myself into a complete git merge and rebase nightmare. It’s not all that unusual now that I’m using Git in the context of a team where we have multiple developers and branches at various steps removed...
I am using the Royce theme for my Jekyll blog and I’ve spent the weekend trying to set up categories to work alongside the theme supported tags. While I was implementing some new code features I thought I’d tidy up...