mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Fix typos in code and comments (#1115)
This commit is contained in:
@@ -93,7 +93,7 @@ class OperaLogCipherType(IntEnum):
|
||||
aes = 0
|
||||
md5 = 1
|
||||
itsdangerous = 2
|
||||
plan = 3
|
||||
plain = 3
|
||||
|
||||
|
||||
class StatusType(IntEnum):
|
||||
|
||||
@@ -54,7 +54,7 @@ class I18n:
|
||||
case 'json':
|
||||
self.locales[lang] = json.loads(f.read())
|
||||
case 'yaml' | 'yml':
|
||||
self.locales[lang] = yaml.full_load(f.read())
|
||||
self.locales[lang] = yaml.safe_load(f.read())
|
||||
|
||||
def t(self, key: str, default: Any | None = None, **kwargs) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user