Git Product home page Git Product logo

Comments (7)

box-turtle avatar box-turtle commented on May 28, 2024 1

The kernel is in pre-release form now, not sure what the final license will be, but you would have to have access to a Teradata server to run it.

thanks for the quick feedback! So it looks like JupyterLabApp is basically a configuration element I can use to add those registrations. Will give it a try!

from jupyter-ui.

box-turtle avatar box-turtle commented on May 28, 2024 1

Figured it out! I just needed to import the Teradata resultset renderfactory and add it to the renderers prop of Notebook.

          <Notebook
            nbformat={nbformat}
            uid={NOTEBOOK_UID}
            cellSidebarMargin={0}
            renderers={[tdRenderFactory]}
            height="800px"
          />
image

Thanks for your help!

from jupyter-ui.

echarles avatar echarles commented on May 28, 2024

Hi @box-turtle Thx a lot for the kind words. I am just discovering https://downloads.teradata.com/download/tools/teradata-ai-unlimited-jupyter-kernel - Is that a jupyterlab extension one can freely install?

Agree, the way to configure JupyterLabApp needs more documentation and love. For now, you would have to look at the examples, like https://github.com/datalayer/jupyter-ui/blob/main/packages/react/src/examples/JupyterLabHeadlessApp.tsx where some custom mimeExtensions renderers (in that case the plotly one) are added.

from jupyter-ui.

box-turtle avatar box-turtle commented on May 28, 2024

Previously my app structure was

<Jupyter ...>
    <Notebook .../>
</Jupyter

I am a bit confused as to how the <JupyterLabApp> component functions - would it replace my <Notebook> component in the structure above? Or be an additional child element of <Jupyter>?

Is <JupyterLabApp> going to render the entire Jupyter UI?

When I try to use it I am getting 404 errors for some extensions...

image

from jupyter-ui.

echarles avatar echarles commented on May 28, 2024

This would be indeed

<Jupyter ...>
    <Notebook .../>
</Jupyter>

We need to better document that, but you need to also update the index.html some props. Not why it is needed, not sure if it will fix your issues, but good to let you know. The config is

<script id="jupyter-config-data" type="application/json">
{
"baseUrl": "https://oss.datalayer.tech/api/kernel",
"wsUrl": "wss://oss.datalayer.tech/api/kernel",
"token": "60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6",
"appUrl": "/lab",
"themesUrl": "/lab/api/themes",
"disableRTC": false,
"terminalsAvailable": "false",
"mathjaxUrl": "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js",
"mathjaxConfig": "TeX-AMS_CHTML-full,Safe"
}
</script>

from jupyter-ui.

echarles avatar echarles commented on May 28, 2024

(specifically appUrl, themesUrl...)

from jupyter-ui.

echarles avatar echarles commented on May 28, 2024

Awesome @box-turtle Happy it worked out.

from jupyter-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.