We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1d12e commit e01cab2Copy full SHA for e01cab2
cuenca/resources/user_logins.py
@@ -1,6 +1,7 @@
1
import datetime as dt
2
-from typing import ClassVar, Optional
+from typing import Annotated, ClassVar, Optional
3
4
+from cuenca_validations.types import LogConfig
5
from cuenca_validations.types.requests import UserLoginRequest
6
from pydantic import ConfigDict
7
@@ -11,6 +12,8 @@
11
12
class UserLogin(Creatable):
13
_resource: ClassVar = 'user_logins'
14
15
+ id: Annotated[str, LogConfig(masked=True, unmasked_chars_length=4)]
16
+
17
last_login_at: Optional[dt.datetime] = None
18
success: bool
19
0 commit comments