Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChinaGodMan/UserScripts
/ __init__
Method
__init__
utils/google_translate.py:58–59 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
57
class
TranslationCaching:
58
def
__init__(self):
59
self.cache = []
60
61
def
add_translation(self, lang, key, value):
62
for
lang_obj in self.cache:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected