Beispiel #1
0
 def set_global(global_key, global_value):
     var = global_wrapper(remote_base_url, global_key)
     if var:
         var.value = global_value
         return var.write()
     else:
         return None
Beispiel #2
0
 def global_wrapper(global_key):
     return global_wrapper(remote_base_url, global_key)
Beispiel #3
0
 def get_global(global_key):
     var = global_wrapper(remote_base_url, global_key)
     if var:
         return var.value
     return
Beispiel #4
0
 def get_global(global_key):
     var = global_wrapper(remote_base_url, global_key)
     return var.value if var else None