You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that their return values are computed once then cached for the lifetime of the program.
The negative impact of not caching is probably minimal, but it still feels a bit dumb to e.g. regenerate the exact same QR code and json dump string for every request
The text was updated successfully, but these errors were encountered:
AngusP
changed the title
Upgrade to Pydantic 2.x
Upgrade to Pydantic 2.x -- blocked by lnurlJun 14, 2024
lnurl
library Upgrading to Pydantic 2 lnbits/lnurl#18With only a single user supported, all the methods on
PhoenixdLNURLSettings
can be changed toPydantic 2 docs: Computed Fields
So that their return values are computed once then cached for the lifetime of the program.
The negative impact of not caching is probably minimal, but it still feels a bit dumb to e.g. regenerate the exact same QR code and json dump string for every request
The text was updated successfully, but these errors were encountered: