Skip to content

rgramos/ms-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ms_utils

Build Package

python -m build Upload Package

python -m twine upload --repository pypi dist/*

View utils keys

  • Generic list:

    • not_paginate (optional): Return model elements array if this key is True, otherwise return a "PaginationSchema" object

    • authenticated_user_only (optional): Return "get_filter" method for "g.user['id']" only if this key is True, otherwise return a regular "get_filter"

    • page (optional): specify page number, default = 1

    • per_page (optional): specify page elements, default = 10