You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by hu...@apache.org on 2026/07/16 17:41:51 UTC

(iceberg) branch main updated: Build: Bump datamodel-code-generator from 0.67.0 to 0.68.1 (#17239)

This is an automated email from the ASF dual-hosted git repository.

huaxingao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new 37772e2047 Build: Bump datamodel-code-generator from 0.67.0 to 0.68.1 (#17239)
37772e2047 is described below

commit 37772e20475b35f1a29bc266fdd5216c8d271f7e
Author: Yuya Ebihara <eb...@gmail.com>
AuthorDate: Fri Jul 17 02:41:45 2026 +0900

    Build: Bump datamodel-code-generator from 0.67.0 to 0.68.1 (#17239)
    
    Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.67.0 to 0.68.1.
    - [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
    - [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/koxudaxi/datamodel-code-generator/compare/0.67.0...0.68.1)
    
    ---
    updated-dependencies:
    - dependency-name: datamodel-code-generator
      dependency-version: 0.68.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
---
 open-api/requirements.txt         | 2 +-
 open-api/rest-catalog-open-api.py | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/open-api/requirements.txt b/open-api/requirements.txt
index 777332f77c..01f95a74eb 100644
--- a/open-api/requirements.txt
+++ b/open-api/requirements.txt
@@ -16,5 +16,5 @@
 # under the License.
 
 openapi-spec-validator==0.9.0
-datamodel-code-generator==0.67.0
+datamodel-code-generator==0.68.1
 yamllint==1.38.0
diff --git a/open-api/rest-catalog-open-api.py b/open-api/rest-catalog-open-api.py
index 99fe855147..cb0ec1dcb5 100644
--- a/open-api/rest-catalog-open-api.py
+++ b/open-api/rest-catalog-open-api.py
@@ -269,13 +269,12 @@ class Summary(BaseModel):
     model_config = ConfigDict(
         extra='allow',
     )
+    __annotations__ = {
+        '__pydantic_extra__': Dict[str, str],
+    }
     operation: Literal['append', 'replace', 'overwrite', 'delete']
 
 
-Summary.__annotations__['__pydantic_extra__'] = Dict[str, str]
-Summary.model_rebuild(force=True)
-
-
 class Snapshot(BaseModel):
     snapshot_id: int = Field(..., alias='snapshot-id')
     parent_snapshot_id: int | None = Field(None, alias='parent-snapshot-id')