Skip to content

Commit 1acd3f6

Browse files
Increase max user ID size from 20 to 80 bytes
1 parent a4871b4 commit 1acd3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/port/proto/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ class UserId(bytes):
157157
Represents account user ID.
158158
User ID can be UTF-8 string or `bytes`.
159159
Internally UserId is represented as `bytes`.
160-
Max user ID size is 20 bytes.
160+
Max user ID size is 80 bytes.
161161
"""
162162

163-
max_size: int = 20
163+
max_size: int = 80
164164

165165
def __new__(cls, userId: Union[bytes, str]) -> "UserId":
166166
if isinstance(userId, str):

0 commit comments

Comments
 (0)