Replies: 4 comments 1 reply
-
I think you will find this is very similar to the implementation I am working on using dataclasses for easy instantiation and access. |
Beta Was this translation helpful? Give feedback.
-
I'm quite biased because I already wrote a kind of ORM and had a lot of fun with it (namely Mongo-Thingy), but yeah, I would love this. :) Let's land @Jeadie's work first (#10) but feel free to give ideas on the overall API here in the meantime! |
Beta Was this translation helpful? Give feedback.
-
I made a very simple draft implementation of an ORM for Notion SDK. It is modeled loosely after SQLAlchemy and You can see the work in progress here: This allows a user to create custom objects:
Using this approach, we could easily add the write-back-to-Notion methods, I just haven't gotten that far yet. |
Beta Was this translation helpful? Give feedback.
-
Just FYI - I've created a new "high level" module for Notion built on the core SDK. Check out notional if you are interested. I'd welcome collaborators, especially people smarter than I am for this 😊 |
Beta Was this translation helpful? Give feedback.
-
Django ORM, sqlalchemy etc, are examples where you write python classes and call python functions, but under the hood SQL queries get carried out.
It would be great to have an ORM, that under the hood would carry out various interactions using Notion API. For the end user, it will be a high level experience.
Example usage
Beta Was this translation helpful? Give feedback.
All reactions