)]}'
{
  "commit": "a5d78f9e2425f16ac60dce988e6739100a85ac9f",
  "tree": "1debafe3986ff10bb81e2cb1b9a52f3c3cfa4f67",
  "parents": [
    "ac90873facd9d09d849c6617f49faaf7668c9f47"
  ],
  "author": {
    "name": "Oleh Prypin",
    "email": "oprypin@google.com",
    "time": "Tue May 05 07:10:50 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon May 11 06:04:14 2026 -0700"
  },
  "message": "Change how enum fields are generated in the PYI\n\nReading an enum field returns an enum type according to the type hint. But assigning to it accepts either the enum type or an int. (Which is a real run-time behavior)\n\nBefore:\n\n```python\n    cell_type: CellType\n```\n\nAfter:\n\n```python\n    @property\n    def cell_type(self) -\u003e CellType: ...\n    @cell_type.setter\n    def cell_type(self, value: _Union[CellType, int]) -\u003e None: ...\n```\n\nPiperOrigin-RevId: 910665494\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a787969c45d6c5acc5e22f24b2c374db7f625bf3",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/compiler/python/pyi_generator.cc",
      "new_id": "17b80f5bbc3e4734454f12dda98b060277f3a1cb",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/compiler/python/pyi_generator.cc"
    }
  ]
}
