diff options
| author | stuppie | 2026-09-08 12:11:51 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-08 12:11:51 -0600 |
| commit | 16dc3d0a9c653afbdf75007c99a94e95bc70f17f (patch) | |
| tree | b8e6a9a8e6843d5f5118bb74731ea6c5ac779f8c | |
| parent | a65c38241f9b27abac166afb050b1ec846e5561d (diff) | |
| download | generalresearch-16dc3d0a9c653afbdf75007c99a94e95bc70f17f.tar.gz generalresearch-16dc3d0a9c653afbdf75007c99a94e95bc70f17f.zip | |
TypeError: strptime() takes no keyword arguments
| -rw-r--r-- | generalresearch/models/thl/task_status.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generalresearch/models/thl/task_status.py b/generalresearch/models/thl/task_status.py index 8fbb76d..73c7477 100644 --- a/generalresearch/models/thl/task_status.py +++ b/generalresearch/models/thl/task_status.py @@ -227,9 +227,9 @@ class TaskStatusResponse(BaseModel): def sanitize_kwargs(cls, v: dict[str, Any] | None) -> dict[str, Any] | None: if v and "clicked_timestamp" in v: try: - clicked_timestamp = datetime.strptime( # noqa - date_string=v["clicked_timestamp"], - format="%Y-%m-%d %H:%M:%S.%f", + clicked_timestamp = datetime.strptime( + v["clicked_timestamp"], + "%Y-%m-%d %H:%M:%S.%f", ) v["clicked_timestamp"] = ( clicked_timestamp.isoformat(timespec="microseconds") + "Z" |
