mirror of https://github.com/jumpserver/jumpserver
10 lines
147 B
Python
10 lines
147 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
from werkzeug.local import Local
|
||
|
|
||
|
thread_local = Local()
|
||
|
|
||
|
|
||
|
def _find(attr):
|
||
|
return getattr(thread_local, attr, None)
|