Skip to content

Commit 9b53f3a

Browse files
committed
refactor: remove unnecessary id fields from slide master and presentation JSON
1 parent 42f9069 commit 9b53f3a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

examples/presentation_tree.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@
302302
],
303303
"slide_masters": [
304304
{
305-
"id": 4407743248,
306305
"shapes": [
307306
{
308307
"name": "Title Placeholder 1",

src/tppt/_pptx/tree.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def slide_layout_to_dict(slide_layout: Any) -> dict[str, Any]:
162162
def slide_master_to_dict(slide_master: Any) -> dict[str, Any]:
163163
"""Convert slide master to dictionary"""
164164
master_data = {
165-
"id": id(slide_master),
166165
"shapes": [shape_to_dict(shape) for shape in slide_master.shapes],
167166
"placeholders": [
168167
placeholder_to_dict(placeholder)

0 commit comments

Comments
 (0)