Skip to content

Commit

Permalink
[REF-2524] Tuple unpacking should apply at component level (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahAhianyo committed Apr 11, 2024
1 parent 1a11941 commit 04ab2b9
Show file tree
Hide file tree
Showing 95 changed files with 201 additions and 1,028 deletions.
3 changes: 0 additions & 3 deletions reflex/components/base/body.pyi
Expand Up @@ -82,8 +82,5 @@ class Body(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
15 changes: 0 additions & 15 deletions reflex/components/base/document.pyi
Expand Up @@ -83,9 +83,6 @@ class NextDocumentLib(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -163,9 +160,6 @@ class Html(NextDocumentLib):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -242,9 +236,6 @@ class DocumentHead(NextDocumentLib):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -321,9 +312,6 @@ class Main(NextDocumentLib):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -400,8 +388,5 @@ class NextScript(NextDocumentLib):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/base/fragment.pyi
Expand Up @@ -82,8 +82,5 @@ class Fragment(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/base/head.pyi
Expand Up @@ -82,9 +82,6 @@ class NextHeadLib(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down
6 changes: 0 additions & 6 deletions reflex/components/base/link.pyi
Expand Up @@ -87,9 +87,6 @@ class RawLink(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -180,8 +177,5 @@ class ScriptTag(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
12 changes: 0 additions & 12 deletions reflex/components/base/meta.pyi
Expand Up @@ -85,9 +85,6 @@ class Title(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -174,9 +171,6 @@ class Meta(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -263,9 +257,6 @@ class Description(Meta):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -352,8 +343,5 @@ class Image(Meta):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
6 changes: 0 additions & 6 deletions reflex/components/chakra/base.pyi
Expand Up @@ -86,9 +86,6 @@ class ChakraComponent(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -234,9 +231,6 @@ class ChakraColorModeProvider(Component):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down
3 changes: 0 additions & 3 deletions reflex/components/chakra/datadisplay/badge.pyi
Expand Up @@ -92,8 +92,5 @@ class Badge(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/chakra/datadisplay/code.pyi
Expand Up @@ -82,8 +82,5 @@ class Code(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/chakra/datadisplay/divider.pyi
Expand Up @@ -97,8 +97,5 @@ class Divider(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/chakra/datadisplay/keyboard_key.pyi
Expand Up @@ -82,8 +82,5 @@ class KeyboardKey(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
3 changes: 0 additions & 3 deletions reflex/components/chakra/datadisplay/list.pyi
Expand Up @@ -169,9 +169,6 @@ class ListItem(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down
15 changes: 0 additions & 15 deletions reflex/components/chakra/datadisplay/stat.pyi
Expand Up @@ -168,9 +168,6 @@ class StatLabel(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -247,9 +244,6 @@ class StatNumber(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -326,9 +320,6 @@ class StatHelpText(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -407,9 +398,6 @@ class StatArrow(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -486,8 +474,5 @@ class StatGroup(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
12 changes: 0 additions & 12 deletions reflex/components/chakra/datadisplay/table.pyi
Expand Up @@ -502,9 +502,6 @@ class Th(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -583,9 +580,6 @@ class Td(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -664,9 +658,6 @@ class TableCaption(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -743,8 +734,5 @@ class TableContainer(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...
12 changes: 0 additions & 12 deletions reflex/components/chakra/datadisplay/tag.pyi
Expand Up @@ -90,9 +90,6 @@ class TagLabel(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -169,9 +166,6 @@ class TagLeftIcon(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -248,9 +242,6 @@ class TagRightIcon(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -327,9 +318,6 @@ class TagCloseButton(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down
12 changes: 0 additions & 12 deletions reflex/components/chakra/disclosure/accordion.pyi
Expand Up @@ -185,9 +185,6 @@ class AccordionItem(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -264,9 +261,6 @@ class AccordionButton(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -343,9 +337,6 @@ class AccordionPanel(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

Expand Down Expand Up @@ -422,8 +413,5 @@ class AccordionIcon(ChakraComponent):
Returns:
The component.
Raises:
TypeError: If an invalid child is passed.
"""
...

0 comments on commit 04ab2b9

Please sign in to comment.