def get_webassets_env_from_request(request):
    return request.registry.queryUtility(IWebAssetsEnvironment)
Get the webassets environment in the registry from the request.
dataset/ETHPy150Open sontek/pyramid_webassets/pyramid_webassets/__init__.py/get_webassets_env_from_request