scratchattach
scratchattach copied to clipboard
feat: pagination
It would be useful to be able to convert offset+limit into page numbers using the method of User.loves so that we can standardize the api. I recommend placing some function for this in commons.py
If we update some functions to use this instead of pages, it would be backwards incompatible. we could also add a handler that overrides the pagination calculation if you provide a page number manually