<filename>jupyterlab_graph_lsp/specs/turtle_language_server.py
# Copyright (c) 2021 <NAME>.
# Distributed under the terms of the Modified BSD License.


from jupyter_lsp.specs.utils import PythonModuleSpec

URL = "https://github.com/stardog-union/stardog-language-servers/"


class TurtleLanguageServer(PythonModuleSpec):
    """Supports rdf turtle serialization"""

    python_module = "jupyterlab_graph_lsp.servers.turtle"
    key = "turtle-language-server"
    languages = ["turtle"]
    args = ["--stdio"]
    spec = dict(
        display_name=key,
        mime_types=["text/turtle"],
        urls=dict(
            home=URL + "tree/master/packages/{}".format(key),
            issues=URL + "issues",
        ),
    )

<filename>jupyterlab_graph_lsp/specs/turtle_language_server.py
# Copyright (c) 2021 <NAME>.
# Distributed under the terms of the Modified BSD License.


from jupyter_lsp.specs.utils import PythonModuleSpec

URL = "https://github.com/stardog-union/stardog-language-servers/"


class TurtleLanguageServer(PythonModuleSpec):
    """Supports rdf turtle serialization"""

    python_module = "jupyterlab_graph_lsp.servers.turtle"
    key = "turtle-language-server"
    languages = ["turtle"]
    args = ["--stdio"]
    spec = dict(
        display_name=key,
        mime_types=["text/turtle"],
        urls=dict(
            home=URL + "tree/master/packages/{}".format(key),
            issues=URL + "issues",
        ),
    )

# Copyright (c) 2021 <NAME>. # Distributed under the terms of the Modified BSD License. Supports rdf turtle serialization