Skip to content

plugins#

Optional Plugins for LunchMoney

LunchableApp #

Bases: BaseLunchableApp

Pre-Built Lunchable App

This app comes with a data property which represents all the base data the app should need.

This app comes with a refresh_data method which will refresh all of the data in the app, except for transactions. To refresh transactions, use the refresh_transactions method.

Source code in lunchable/plugins/app.py
class LunchableApp(BaseLunchableApp):
    """
    Pre-Built Lunchable App

    This app comes with a `data` property which represents all the base data
    the app should need.

    This app comes with a `refresh_data` method which will refresh all of the
    data in the app, except for transactions. To refresh transactions, use the
    `refresh_transactions` method.
    """

    lunchable_models: ClassVar[List[Type[LunchableModel]]] = [
        PlaidAccountObject,
        CategoriesObject,
        AssetsObject,
        TagsObject,
        UserObject,
        CryptoObject,
    ]