Files
xiaoxia-saas/packages
xiaoxia-agent de7ce38ab2 fix(points): make @points_gate wrapper globals + sys.modules proxy for Py3.12/PEP563 compat
- rebind wrapper code object to decorated route's __globals__ via types.FunctionType
  so PEP563 ForwardRefs (ExtractFromDouyinRequest etc.) resolve on Py3.12
- use thin sys.modules proxies for internal helpers so tests can monkeypatch
  _points_gate_enabled / _execute_with_gate and see the change at call time
- preserve backward-compat aliases (_filter_kwargs, _execute_with_gate, _run_async)
  for existing unit tests
2026-09-16 00:22:05 +08:00
..