Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/e/dex-HEAD/dex/analyzer.py   dex(Download)
__author__ = 'eric'
 
from utils import pretty_json, validate_yaml
import sys
import pymongo
                # if the recommendation cannot be re-parsed into yaml, we assume
                # it is invalid.
                if not validate_yaml(recommendation['index']):
                    recommendation = None
                    query_analysis['supported'] = False