chore: Support allow_origins in cloud_run deployment

Also reorganize the fast_api_common_options. This resolves https://github.com/google/adk-python/issues/1444.

PiperOrigin-RevId: 773890111
This commit is contained in:
Shangjie Chen
2025-06-20 16:54:08 -07:00
committed by Copybara-Service
parent 8677d5c8dc
commit 2fd8feb65d
3 changed files with 59 additions and 47 deletions
@@ -162,6 +162,7 @@ def test_to_cloud_run_happy_path(
trace_to_cloud=True,
with_ui=True,
verbosity="info",
log_level="info",
session_service_uri="sqlite://",
artifact_service_uri="gs://bucket",
memory_service_uri="rag://",
@@ -206,6 +207,7 @@ def test_to_cloud_run_cleans_temp_dir(
trace_to_cloud=False,
with_ui=False,
verbosity="info",
log_level="info",
adk_version="1.0.0",
session_service_uri=None,
artifact_service_uri=None,