ai-cfia / ai-cfia/ailab-datastore

Inconsistent Return Type in `is_a_user_id` Function

未關閉
#108 1 則留言 0 個 reaction 已指派 1 人 已被 @Francois-Werbrouck 認領 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。