Files
outlookEmailPlus/outlook_web/services/http.py
T
胡绍康andClaude Opus 4.6 0eb36f5175 style: 运行 Black 格式化所有 Python 代码
- 格式化 66 个 Python 文件以符合 Black 代码风格
- 修复 GitHub Actions Code Quality 工作流失败问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 18:23:57 +08:00

13 lines
250 B
Python

from __future__ import annotations
from typing import Any
import requests
def get_response_details(response: requests.Response) -> Any:
try:
return response.json()
except Exception:
return response.text or response.reason