Exemplo n.º 1
0
def get_wrapper(obj, sqlalchemy_session=None):
    if isinstance(obj, dict):
        return _SolrResultWrapper(obj)
    return _get_wrapper(obj, sqlalchemy_session=sqlalchemy_session)
Exemplo n.º 2
0
def get_wrapper(obj, sqlalchemy_session=None):
    if isinstance(obj, dict) and 'responseHeader' in obj:
        return _SolrResultWrapper(obj)
    if isinstance(obj, list):
        return obj
    return _get_wrapper(obj, sqlalchemy_session=sqlalchemy_session)
Exemplo n.º 3
0
def get_wrapper(obj, sqlalchemy_session=None):
    if isinstance(obj, dict) and 'responseHeader' in obj:
        return _SolrResultWrapper(obj)
    if isinstance(obj, list):
        return obj
    return _get_wrapper(obj, sqlalchemy_session=sqlalchemy_session)