Bump pydivkit and python codegen

This commit is contained in:
p-mosein
2023-06-08 17:24:57 +03:00
parent 5314f36b12
commit 8a26d061a9
153 changed files with 4816 additions and 2856 deletions
@@ -1,7 +1,7 @@
# Generated code. Do not modify.
from __future__ import annotations
from pydivkit.core import BaseDiv, Field
from pydivkit.core import BaseDiv, Field, Expr
import enum
import typing
@@ -12,16 +12,18 @@ class EntityWithArray(BaseDiv):
def __init__(
self, *,
array: typing.List[entity.Entity],
type: str = 'entity_with_array',
array: typing.Optional[typing.Sequence[entity.Entity]] = None,
**kwargs: typing.Any,
):
super().__init__(
type=type,
array=array,
**kwargs,
)
type: str = Field(default='entity_with_array')
array: typing.List[entity.Entity] = Field(
array: typing.Sequence[entity.Entity] = Field(
min_items=1
)