25 lines
512 B
Python
25 lines
512 B
Python
# Code generated by Lark OpenAPI.
|
|
|
|
from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
|
|
from lark_oapi.core.construct import init
|
|
|
|
|
|
class Widget(object):
|
|
_types = {
|
|
}
|
|
|
|
def __init__(self, d=None):
|
|
init(self, d, self._types)
|
|
|
|
@staticmethod
|
|
def builder() -> "WidgetBuilder":
|
|
return WidgetBuilder()
|
|
|
|
|
|
class WidgetBuilder(object):
|
|
def __init__(self) -> None:
|
|
self._widget = Widget()
|
|
|
|
def build(self) -> "Widget":
|
|
return self._widget
|