def case(self, case):
        """Get a case from the database

            Search the cases with the case id

            Args:
                case (dict): A case dictionary

            Returns:
                mongo_case (dict): A mongo case dictionary
        """
        LOG.debug("Getting case {0} from database".format(case.get('case_id')))
        case_id = case['case_id']
        return self.db.case.find_one({'case_id': case_id})
Get a case from the database

            Search the cases with the case id

            Args:
                case (dict): A case dictionary

            Returns:
                mongo_case (dict): A mongo case dictionary