def get_zoom(self, request, default=16):
        try:
            zoom = int(request.GET['zoom'])
        except (__HOLE__, KeyError):
            zoom = default
        else:
            zoom = min(max(10, zoom), 18)
        return zoom
dataset/ETHPy150Open mollyproject/mollyproject/molly/utils/views.py/BaseView.get_zoom