_upload_meta_path. Internal helper function. This docstring was added automatically to improve maintainability. Args: upload_id: Parameter. Returns: Varies.
(upload_id: str)
| 11712 | return {"enabled": 0, "q1": "", "q2": "", "q3": ""} |
| 11713 | return { |
| 11714 | "enabled": int(row["enabled"] or 0), |
| 11715 | "q1": row["q1"] or "", |
| 11716 | "q2": row["q2"] or "", |
| 11717 | "q3": row["q3"] or "", |
| 11718 | } |
| 11719 | |
| 11720 | def user_2fa_enabled(username: str) -> bool: |
| 11721 | """user_2fa_enabled. |
| 11722 | |
| 11723 | Internal helper function. |
| 11724 | |
| 11725 | This docstring was added automatically to improve maintainability. |
| 11726 | |
| 11727 | Args: |
| 11728 | username: Parameter. |
| 11729 | |
| 11730 | Returns: |
no outgoing calls
no test coverage detected