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
def global_wrapper(global_key): return global_wrapper(remote_base_url, global_key)
def get_global(global_key): var = global_wrapper(remote_base_url, global_key) if var: return var.value return
def get_global(global_key): var = global_wrapper(remote_base_url, global_key) return var.value if var else None