Files
divkit/json-builder/python/pydivkit/div/div_fixed_count.py
T
timatifey 7bb4ec59c2 pydivkit gitignore
gitignore change
2022-10-20 13:45:09 +03:00

27 lines
514 B
Python

# Generated code. Do not modify.
from __future__ import annotations
from pydivkit.core import BaseDiv, Field
import enum
import typing
# Fixed number of repetitions.
class DivFixedCount(BaseDiv):
def __init__(
self, *,
value: int,
type: str = 'fixed',
):
super().__init__(
type=type,
value=value,
)
type: str = Field(default='fixed')
value: int = Field(description='Number of repetitions.')
DivFixedCount.update_forward_refs()