ai-cfia / ai-cfia/ailab-datastore
Inconsistent Return Type in `is_a_user_id` Function
未關閉
- 主要語言
- Python
- 星號
- 3
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
## Description
The `is_a_user_id` function is intended to return a boolean value, as indicated by its type hint `-> bool`. However, in its current implementation, the function raises an `Exception` in case of an error, which violates the return type consistency. The function should be refactored to ensure that it always returns a boolean value, even in the event of an error.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。