def create(project: 'projects.Project') -> COMPONENT:
    """
    :return:
    """

    try:
        from bokeh.resources import Resources as BokehResources
        bokeh_resources = BokehResources(mode='absolute')
    except Exception:
        bokeh_resources = None

    if bokeh_resources is None:
        environ.log(BOKEH_WARNING)
        return COMPONENT([], [])

    return definitions.merge_components(
        _assemble_component(
            project,
            'bokeh-css',
            ['bokeh', 'bokeh.css'],
            bokeh_resources.css_files
        ),
        _assemble_component(
            project,
            'bokeh-js',
            ['bokeh', 'bokeh.js'],
            bokeh_resources.js_files
        )
    )