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

feat(airbyte-cdk): update datamodel_code_generator to 0.26.3 #31

Merged
merged 3 commits into from
Nov 12, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
from __future__ import annotations

from enum import Enum
from typing import Any, Dict, List, Optional, Union
from typing import Any, Dict, List, Literal, Optional, Union

from pydantic.v1 import BaseModel, Extra, Field
from typing_extensions import Literal


class AuthFlowType(Enum):
Expand Down Expand Up @@ -632,6 +631,7 @@ class HttpResponseFilter(BaseModel):
description="Match the response if its HTTP code is included in this list.",
examples=[[420, 429], [500]],
title="HTTP Codes",
unique_items=True,
)
predicate: Optional[str] = Field(
None,
Expand Down
4 changes: 3 additions & 1 deletion bin/generate_component_manifest_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


PIP_DEPENDENCIES = [
"datamodel_code_generator==0.11.19",
"datamodel_code_generator==0.26.3",
]


Expand Down Expand Up @@ -73,6 +73,8 @@ async def main():
"--enum-field-as-literal",
"one",
"--set-default-enum-member",
"--use-double-quotes",
"--remove-special-field-name-prefix",
],
use_entrypoint=True,
)
Expand Down
Loading