Skip to content

Commit

Permalink
Merge branch 'flask-2-3-deprecation' of github.com:jkittner/flask-bab…
Browse files Browse the repository at this point in the history
…el into jkittner-flask-2-3-deprecation
  • Loading branch information
TkTech committed Oct 2, 2023
2 parents dad9165 + 414a5a3 commit 346a45a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_babel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

from babel.support import Translations, NullTranslations
from flask import current_app, g
from flask.helpers import locked_cached_property
from babel import dates, numbers, support, Locale
from pytz import timezone, UTC
from werkzeug.datastructures import ImmutableDict
from werkzeug.utils import cached_property

from flask_babel.speaklater import LazyString

Expand Down Expand Up @@ -221,7 +221,7 @@ def domain(self) -> str:
"""
return get_babel().default_domain

@locked_cached_property
@cached_property
def domain_instance(self):
"""The message domain for the translations.
"""
Expand Down

0 comments on commit 346a45a

Please sign in to comment.