@classmethod
    def _get_or_create_cdn(cls, cdn_id, create=True):
        try:
            return CDN.get(CDN.id == cdn_id), False
        except __HOLE__:
            if create:
                return CDN.create(id=cdn_id), True
            return None, None
dataset/ETHPy150Open CacheBrowser/cachebrowser/cachebrowser/bootstrap.py/Bootstrapper._get_or_create_cdn