mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
25 lines
435 B
Python
25 lines
435 B
Python
# Generated code. Do not modify.
|
|
|
|
from __future__ import annotations
|
|
from pydivkit.core import BaseDiv, Field, Expr
|
|
import enum
|
|
import typing
|
|
|
|
|
|
class WithDefault(BaseDiv):
|
|
|
|
def __init__(
|
|
self, *,
|
|
type: str = 'default',
|
|
**kwargs: typing.Any,
|
|
):
|
|
super().__init__(
|
|
type=type,
|
|
**kwargs,
|
|
)
|
|
|
|
type: str = Field(default='default')
|
|
|
|
|
|
WithDefault.update_forward_refs()
|