Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Bump datamodel-code-generator from 0.24.2 to 0.25.0 #9189

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()