| 30 | |
| 31 | @_explicitize_args |
| 32 | def __init__(self, id=Component.UNDEFINED, style=Component.UNDEFINED, **kwargs): |
| 33 | self._prop_names = ["id", "style", "value"] |
| 34 | self._type = "MyStandardComponent" |
| 35 | self._namespace = "dash_generator_test_component_standard" |
| 36 | self._valid_wildcard_attributes = [] |
| 37 | self.available_properties = ["id", "style", "value"] |
| 38 | self.available_wildcard_properties = [] |
| 39 | _explicit_args = kwargs.pop("_explicit_args") |
| 40 | _locals = locals() |
| 41 | _locals.update(kwargs) # For wildcard attrs and excess named props |
| 42 | args = {k: _locals[k] for k in _explicit_args if k != "children"} |
| 43 | for k in []: |
| 44 | if k not in args: |
| 45 | raise TypeError("Required argument `" + k + "` was not specified.") |
| 46 | super(PreCAPLegacyComponent, self).__init__(**args) |
| 47 | |
| 48 | |
| 49 | def test_leg001_legacy_pre_component_as_props(dash_duo): |