Automatic push from FunctionsAPI
This commit is contained in:
parent
cef449a148
commit
84c9a62e71
23
main.py
Normal file
23
main.py
Normal file
@ -0,0 +1,23 @@
|
||||
def main():
|
||||
# Declare and assign variables of different types
|
||||
user_name = "Alice"
|
||||
age = 25
|
||||
is_student = True
|
||||
score = 95.5
|
||||
|
||||
# Create a dictionary to hold the variables
|
||||
response = {
|
||||
"Name": user_name,
|
||||
"Age": age,
|
||||
"Is Student": is_student,
|
||||
"Score": score
|
||||
}
|
||||
|
||||
# Return the response
|
||||
return response
|
||||
|
||||
if __name__ == "__main__":
|
||||
result = main()
|
||||
# Print the response for demonstration
|
||||
for key, value in result.items():
|
||||
print(f"{key}: {value}")
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
functions-framework==1.4.3
|
||||
markupsafe==2.0.1
|
||||
Loading…
Reference in New Issue
Block a user