Prototype for Reusable Python (Notebook UI)

Jade Khiev · Friday Demos · November 27, 2026 · 8:28

Early look at reusable Python workflows, including showing code, calculation workflows, lineage. This also opens up allowing active re-run logic for end users. Early prototype, but plenty…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Alright, I'll start by saying this is a very early experiment prototype. Probably none of this is going to, you know, actually get pushed to code, but wanted to share some thoughts around how we make Python reusable and kind of start exploring that flow. And also talk a little bit about notebook UI as well. So starting from the Omniagent, essentially all I'm doing here is I'm asking it to do an A-B test analysis and save the results and build me an app that I can share with my executives.

  2. You can do this today with Blobby to an extent. You can, for example, ask it to, you know, follow a skill where you may be defining what Python you want it to execute and the readout that you want it to generate as well. All of that can be done today. And Blobby will probably at the very bare minimum generate you a very nice readout in the chat.

  3. But if you ask it to, or maybe it will just do it, it will actually also write those outputs into an app. The flow that I'm showing here is actually getting blobby to one um actually write uh its changes into a notebook. Um and so rather than having it live in sort of these like little research steps as we have it today, uh the thinking here is that Blobby can do things like actually uh you know uh put all of its thoughts together, um everything from you know what how it's thinking about the methodology, which queries it's using, the Python code itself, allowing it to kind of write it and execute it directly inside the workbook.

  4. And then an extra step to also actually have these outputs written back to the data warehouse. And then using that data warehouse as or table as a source for actually powering these queries. And so starting with that kind of like write back piece, what I've done is I've introduced this special type of cell called like a write to table cell.

  5. And all it's doing is it allows you to just kind of configure like I want the outputs from this cell to get written to like some table, let's say. And once I save that some table, I'll go ahead and hit that right table. That will kind of work similar to like our CSV uploads today, where it will first just kind of live in the workbook model.

  6. And if I want to promote that and make it reusable for everybody and have the right permissions to, I can go and you know go through that flow and and promote it. And so that's kind of like the first piece there. And so if I actually kind of like jump to this sum table, let's say, what we'll see is the actual like values.

  7. Again, just reusing the same kind of like CSV UI that we have today. Except I don't want users to actually be able to overwrite my Python outputs. But if I want folks to actually be able to update the table, they should be able to hit update table and re trigger that DAG that built this table. If I want to jump over to the notebook, I should be able to do that and actually see how that's being powered.

  8. And again, this is the kind of like mini DAG that will run that basically just says okay these are the queries that are being used. If I want to look at the queries being used, I can also jump to them from there. And you know, if I want to actually jump back to my sum table, I can also use this little outline to kind of go back there.

  9. And so all this to say that uh again, trying to kind of fit uh to the kind of paradigms that are already understood today, and so if I want to make this reusable, I have the option to kind of just publish and promote this workbook uh model as is. Um and on the kind of like refreshing piece, um so I can re-trigger the table from here and that will trigger the day.

  10. I showed you the source being able to re trigger it. Uh I can also rerun this entire workbook or this entire notebook um and that will also re trigger that build. But one of the things that I think uh is actually going to be very key is also, you know, obviously making all of this API accessible so you can kind of do it from anywhere, including the ability to actually allow apps to also reload these results and trigger that those Python reruns too.

  11. And so again, just trying to make it very accessible to build these assets and and and manage their lifecycle over time. And just to kind of like complete this flow, what I'll do is I'll actually go ahead and hit publish on this. And I will then let's close this chat. Sorry, my server is a little bit laggy.

  12. Let's go ahead and hit promote to shared and you know, promote this sum table topic and model upwards or and then I'll go ahead and hit new workbooks local and let's go to browse all views. Um and so I'll see my table over here, sum table, um where again, oh it's yelling at me. I guess it doesn't have arms.

  13. Let's go ahead and open it in notebook and see what happened. Um update table. Cool. But yeah, anyway, the point is that you know, we obviously want this lineage to be like straightforward, easy, and it make it easy for um, you know, end users to actually go and uh make changes and dress it as they need to.

  14. And if you want to do things like uh, you know, for example, like model this table, again, very similar to the way you do anything else in Omni. This is just another table that gets modeled and right now lives in my workbook model, but if I want to promote that up, I could. On the notebook uh UI piece, I know this is getting a little bit long, so we might want to trim it.

  15. Um but on the notebook UI piece, um, so in addition to that new cell that I introduced to write to table, um, Jared kindly made a mock of some of the nice shortcuts that we might want to have. And so, like, one of them is this ability to actually like just fold all of the code. Probably want to have some cell collapse shortcuts as well.

  16. The ability to restart the kernel, running and updating everything, and you know, other shortcuts like running cells up and down. I think, are quite nice. We have a graph view as well that I've built out over here where it kind of shows the entirety of the notebook versus just this tiny dag over here. And so again, just trying to make this feel good and kind of ergonomic, you know, easy ways for you to like read any variables that have been set, see all of the packages that are available.

  17. And then there's an idea as well to make it easy for folks to request packages get added. We have a limited set right now, but I mean this this set pretty much does most things that people want. And if you want more, it's really easy for us to add things, so definitely let us know. And I think that's pretty much it.

  18. I there are like some other cute things too, like, you know, wanting it to be really easy to like drag and drop and move uh cells around. Um all of those things will be pretty important uh for you know getting a really nice uh looking and and feeling uh notebook. Um but probably most importantly uh making it so that this is accessible uh through blobbies, tools um and also via API.

  19. Thanks.