I am making a Leaflet-based web map using folium so that I can make database queries before adding the results to the map as various layers. Some of the database queries are