Skip to content

Commit

Permalink
Merge pull request #2 from alstn2468/required-children-prop
Browse files Browse the repository at this point in the history
Required children prop
  • Loading branch information
siner308 authored Sep 8, 2022
2 parents e139906 + 1c92af4 commit a0030bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash/development/_py_components_generation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import OrderedDict
import copy
import os
from textwrap import fill, dedent
from textwrap import fill

from dash.development.base_component import _explicitize_args
from dash.exceptions import NonExistentEventException
Expand Down Expand Up @@ -86,7 +86,7 @@ def __init__(self, {default_argtext}):
).replace("\r\n", "\n")
required_args = required_props(filtered_props)
is_children_required = 'children' in required_args
required_args = list(filter(lambda arg: arg != 'children', required_args))
required_args = [arg for arg in required_args if arg != "children"]

prohibit_events(props)

Expand Down

0 comments on commit a0030bb

Please sign in to comment.