Skip to content

Commit

Permalink
feat(airbyte-cdk): update datamodel_code_generator to 0.26.3 (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
Co-authored-by: Aaron ("AJ") Steers <aj@airbyte.io>
  • Loading branch information
artem1205 and aaronsteers authored Nov 12, 2024
1 parent 707faac commit 5439b17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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

0 comments on commit 5439b17

Please sign in to comment.