def _get_post_object(self, query_filter=None):
    for item in PostModel.query(self.path_param, filter_condition=query_filter):
        return item
    raise ItemNotFoundException
def _get_post_object(self, query_filter=None):
    for item in PostModel.query(self.path_param, filter_condition=query_filter):
        return item
    raise ItemNotFoundException