Skip to content

Commit

Permalink
Build: Bump datamodel-code-generator from 0.24.2 to 0.25.0 (apache#9189)
Browse files Browse the repository at this point in the history
Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Commits](koxudaxi/datamodel-code-generator@0.24.2...0.25.0)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and devangjhabakh committed Apr 22, 2024
1 parent 46294f6 commit 98503e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion open-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# under the License.

openapi-spec-validator==0.7.1
datamodel-code-generator==0.24.2
datamodel-code-generator==0.25.0
10 changes: 5 additions & 5 deletions open-api/rest-catalog-open-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ class TransformTerm(BaseModel):
term: Reference


class ReportMetricsRequest1(CommitReport):
class ReportMetricsRequest2(CommitReport):
report_type: str = Field(..., alias='report-type')


Expand Down Expand Up @@ -874,8 +874,8 @@ class LoadViewResult(BaseModel):
config: Optional[Dict[str, str]] = None


class ReportMetricsRequest2(BaseModel):
__root__: Union[ReportMetricsRequest, ReportMetricsRequest1]
class ReportMetricsRequest(BaseModel):
__root__: Union[ReportMetricsRequest1, ReportMetricsRequest2]


class ScanReport(BaseModel):
Expand All @@ -901,7 +901,7 @@ class Schema(StructType):
)


class ReportMetricsRequest(ScanReport):
class ReportMetricsRequest1(ScanReport):
report_type: str = Field(..., alias='report-type')


Expand All @@ -914,4 +914,4 @@ class ReportMetricsRequest(ScanReport):
AddSchemaUpdate.update_forward_refs()
CreateTableRequest.update_forward_refs()
CreateViewRequest.update_forward_refs()
ReportMetricsRequest2.update_forward_refs()
ReportMetricsRequest.update_forward_refs()

0 comments on commit 98503e4

Please sign in to comment.