We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2165c21 commit e2923f5Copy full SHA for e2923f5
functions/tips/main.py
@@ -89,6 +89,7 @@ def scope_demo(request):
89
90
91
# [START functions_tips_lazy_globals]
92
+# [START run_tips_global_lazy]
93
# Always initialized (at cold-start)
94
non_lazy_global = file_wide_computation()
95
@@ -114,6 +115,7 @@ def lazy_globals(request):
114
115
lazy_global = function_specific_computation()
116
117
return 'Lazy: {}, non-lazy: {}.'.format(lazy_global, non_lazy_global)
118
+# [END run_tips_global_lazy]
119
# [END functions_tips_lazy_globals]
120
121
0 commit comments