microsoftgraph / microsoftgraph/msgraph-sdk-python-core

FileSizeDisplay in item content returned in DateTime format not in int value

未关闭
#780 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

area:serialization P1 priority:p1 type:bug
主要语言
Python
星标
288
派生
52
平均合并
8 小时 10 分钟
30 天内合并 PR
1

描述

Describe the bug

Using MSGRAPH to retrieve specific item information using functions client().sites.by_site_id(site_id).lists.by_list_id(folder.id).items.get() some files have DateTime format in FileSizeDisplay field, using main HTTP API this value is correct

Expected behavior

FileSizeDisplay in int/float value

How to reproduce

Some specific files have this issue

SDK Version

1.1.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用受影响的文件重现 client().sites.by_site_id(site_id).lists.by_list_id(folder.id).items.get() 调用,并将其 FileSizeDisplay 值与主 HTTP API 响应进行比较。跟踪 item 响应的反序列化过程,然后验证受影响的 item 是否保留数值型 FileSizeDisplay 值,并为这一差异添加覆盖测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。