(doc_id)
return observations
Hit couch to get the CObservations for a single xform submission
Hit couch to get the CObservations for a single xform submission
Hit couch to get the CObservations for a single xform submission
def query_observations_singledoc(doc_id):
    """
    Hit couch to get the CObservations for a single xform submission
    """
    key = ['doc_id', doc_id]
    observations = CObservation.view('pact/dots_observations', key=key,
                                     classes={None: CObservation}).all()
    return observations
def query_observations_singledoc ( doc_id ) : key = [ 'doc_id' , doc_id ] observations = CObservation . view ( 'pact/dots_observations' , key = key , classes = { None : CObservation } ) . all ( ) return observations