Skip to content

Commit

Permalink
remove regex in request_id for InputMessage (#99)
Browse files Browse the repository at this point in the history
* remove regex in request_id for InputMessage

* fix regex
  • Loading branch information
akashg3627 authored Nov 28, 2024
1 parent 8f9b8a8 commit 6833eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_processor/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_request_method(self) -> Optional[str]:


class InputMessage(InputMessageInterface):
request_id: constr(regex=r"^[a-zA-Z0-9\-]{1,36}$")
request_id: constr(min_length=1)
body: Any
published_at_epoch_ns: Optional[int] = None
stream_response: bool = False
Expand Down

0 comments on commit 6833eb0

Please sign in to comment.