We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e55c93 commit a069850Copy full SHA for a069850
pyhtml/__tags/input.py
@@ -219,7 +219,7 @@ def __init__(
219
) -> None:
220
...
221
222
- # default, allowing all arguments
+ # default, suggesting types
223
@overload
224
def __init__(
225
self,
@@ -235,6 +235,22 @@ def __init__(
235
236
237
238
+ # default, allowing all arguments
239
+ @overload
240
+ def __init__(
241
+ self,
242
+ *,
243
+ type: Optional[str] = None,
244
+ id: Optional[str] = None,
245
+ name: Optional[str] = None,
246
+ value: Optional[str] = None,
247
+ placeholder: Optional[str] = None,
248
+ readonly: Optional[bool] = None,
249
+ required: Optional[bool] = None,
250
+ **attributes: AttributeType,
251
+ ) -> None:
252
+ ...
253
+
254
255
256
*,
0 commit comments