MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _upload_tmp_path

Function _upload_tmp_path

Scripts/ButSystem.py:11729–11742  ·  view source on GitHub ↗

_upload_tmp_path. Internal helper function. This docstring was added automatically to improve maintainability. Args: upload_id: Parameter. Returns: Varies.

(upload_id: str)

Source from the content-addressed store, hash-verified

11727Args:
11728 username: Parameter.
11729
11730Returns:
11731 Varies.
11732"""
11733 try:
11734 sec = get_user_security(username)
11735 return bool(int(sec.get("enabled") or 0) == 1 and sec.get("q1") and sec.get("q2") and sec.get("q3"))
11736 except Exception:
11737 return False
11738
11739def set_user_security(username: str, q1: str, q2: str, q3: str, a1: str, a2: str, a3: str, enabled: bool):
11740 """set_user_security.
11741
11742Internal helper function.
11743
11744This docstring was added automatically to improve maintainability.
11745

Callers 1

api_upload_chunkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected