Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF-2524]Tuple unpacking should apply at component level #3062

Merged
merged 8 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions reflex/components/base/body.pyi
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.
"""
...
Loading
Loading