def get_facebook_client():
    """
    Get the current Facebook object for the calling thread.

    """
    try:
        return _thread_locals.facebook
    except __HOLE__:
        raise ImproperlyConfigured('Make sure you have the Facebook middleware installed.')
dataset/ETHPy150Open benadida/helios-server/helios_auth/auth_systems/facebookclient/djangofb/__init__.py/get_facebook_client