From f1b71598e8170d46d12ed45a8a0771dd0ca9f59b Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Mon, 16 Nov 2026 03:06:30 -0800 Subject: [PATCH] docs: update description of the folder size field (box/box-openapi#628) --- .codegen.json | 2 +- box_sdk_gen/schemas/folder.py | 5 +++++ box_sdk_gen/schemas/folder_full.py | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.codegen.json b/.codegen.json index 4e5ab6f2..b500a1aa 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "0eab570", "specHash": "0451786", "version": "10.19.0" } +{ "engineHash": "0eab570", "specHash": "7f8494a", "version": "10.19.0" } diff --git a/box_sdk_gen/schemas/folder.py b/box_sdk_gen/schemas/folder.py index 0871a2e5..d9099621 100644 --- a/box_sdk_gen/schemas/folder.py +++ b/box_sdk_gen/schemas/folder.py @@ -302,6 +302,11 @@ def __init__( :type modified_at: Optional[DateTime], optional :param size: The folder size in bytes. + This includes the files in the folder and its subfolders, along with + their previous versions. Files in Trash are not included. After a file + with many versions is moved to Trash, the value can take several days + to reflect the change. + Be careful parsing this integer as its value can get very large., defaults to None :type size: Optional[int], optional diff --git a/box_sdk_gen/schemas/folder_full.py b/box_sdk_gen/schemas/folder_full.py index 2d58bcce..ffa399d7 100644 --- a/box_sdk_gen/schemas/folder_full.py +++ b/box_sdk_gen/schemas/folder_full.py @@ -263,6 +263,11 @@ def __init__( :type modified_at: Optional[DateTime], optional :param size: The folder size in bytes. + This includes the files in the folder and its subfolders, along with + their previous versions. Files in Trash are not included. After a file + with many versions is moved to Trash, the value can take several days + to reflect the change. + Be careful parsing this integer as its value can get very large., defaults to None :type size: Optional[int], optional