From 683aeb2e489f7d669745abe81b1f774e15d94f33 Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Wed, 6 Mar 2024 18:59:36 -0500 Subject: [PATCH] Support angle brackets in function names Python functions can have angle brackets in their names, for example when defined inside another function. For example: run..hello_world_async --- dispatch/sdk/v1/call.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatch/sdk/v1/call.proto b/dispatch/sdk/v1/call.proto index 81cae22..f566976 100644 --- a/dispatch/sdk/v1/call.proto +++ b/dispatch/sdk/v1/call.proto @@ -27,7 +27,7 @@ message Call { // received by the function service when the asynchronous call is made. string function = 3 [ (buf.validate.field).required = true, - (buf.validate.field).string.pattern = "^[a-zA-Z_][a-zA-Z0-9_]*$" + (buf.validate.field).string.pattern = "^[a-zA-Z_][a-zA-Z0-9_<>]*$" ]; // Arguments to the coroutine.