mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-11 19:12:35 +00:00
* stash * perf: 优化 动态seting * perf(settings): 优化settings配置 * perf: 完成终端和安全setting * perf: 修改翻译 * perf: 去掉其他位置的DYNAMIC * perf: 还原回来原来的一些代码 * perf: 优化ldap * perf: 移除dynmic config * perf: 去掉debug消息 * perf: 优化 refresh 命名 Co-authored-by: ibuler <ibuler@qq.com>
8 lines
121 B
Python
8 lines
121 B
Python
from werkzeug.local import Local
|
|
|
|
thread_local = Local()
|
|
|
|
|
|
def _find(attr):
|
|
return getattr(thread_local, attr, None)
|