def fetch_by_url(self, url):
service = self.collection.find_one({'<STR_LIT:url>': url})<EOL>if not service:<EOL><INDENT>raise ServiceNotFound<EOL><DEDENT>return Service(service)<EOL>
Gets service for given ``url`` from mongodb storage.