From 451e89682ebb444a675b596fd1e201937ffb9231 Mon Sep 17 00:00:00 2001 From: Arc Date: Mon, 18 Nov 2024 15:49:09 +0000 Subject: [PATCH] Improved comment --- models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models.py b/models.py index 101f30c..a91d415 100644 --- a/models.py +++ b/models.py @@ -23,7 +23,8 @@ class MyExtension(BaseModel): wallet: str total: int - # Below is only needed if you want to add extra fields to the model + # Below is only needed if you want to add extra calculated fields to the model, + # like getting the links for lnurlpay and lnurlwithdraw fields in this case. def lnurlpay(self, req: Request) -> str: url = req.url_for("myextension.api_lnurl_pay", myextension_id=self.id) url_str = str(url)