Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 29e2d73

Browse files
committed
Docstring and change 'params' to 'args' for consistency.
1 parent 4e16cce commit 29e2d73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+262
-260
lines changed

dash_html_components/A.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
5454
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5555
self.available_wildcard_properties = ['data-', 'aria-']
5656

57-
_explicit_params = kwargs.pop('_explicit_params')
57+
_explicit_args = kwargs.pop('_explicit_args')
5858
_locals = locals()
5959
_locals.update(kwargs) # For wildcard attrs
60-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
60+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
6161

6262
for k in []:
6363
if k not in args:

dash_html_components/Abbr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Acronym.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Address.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Area.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
5656
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'alt', 'coords', 'download', 'href', 'hrefLang', 'media', 'rel', 'shape', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5757
self.available_wildcard_properties = ['data-', 'aria-']
5858

59-
_explicit_params = kwargs.pop('_explicit_params')
59+
_explicit_args = kwargs.pop('_explicit_args')
6060
_locals = locals()
6161
_locals.update(kwargs) # For wildcard attrs
62-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
62+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
6363

6464
for k in []:
6565
if k not in args:

dash_html_components/Article.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Aside.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Audio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
5454
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'autoPlay', 'controls', 'crossOrigin', 'loop', 'muted', 'preload', 'src', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5555
self.available_wildcard_properties = ['data-', 'aria-']
5656

57-
_explicit_params = kwargs.pop('_explicit_params')
57+
_explicit_args = kwargs.pop('_explicit_args')
5858
_locals = locals()
5959
_locals.update(kwargs) # For wildcard attrs
60-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
60+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
6161

6262
for k in []:
6363
if k not in args:

dash_html_components/B.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4747
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
4848
self.available_wildcard_properties = ['data-', 'aria-']
4949

50-
_explicit_params = kwargs.pop('_explicit_params')
50+
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs
53-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5454

5555
for k in []:
5656
if k not in args:

dash_html_components/Base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def __init__(self, children=None, id=None, n_clicks=None, n_clicks_timestamp=Non
4949
self.available_properties = ['children', 'id', 'n_clicks', 'n_clicks_timestamp', 'key', 'role', 'data-*', 'aria-*', 'href', 'target', 'accessKey', 'className', 'contentEditable', 'contextMenu', 'dir', 'draggable', 'hidden', 'lang', 'spellCheck', 'style', 'tabIndex', 'title']
5050
self.available_wildcard_properties = ['data-', 'aria-']
5151

52-
_explicit_params = kwargs.pop('_explicit_params')
52+
_explicit_args = kwargs.pop('_explicit_args')
5353
_locals = locals()
5454
_locals.update(kwargs) # For wildcard attrs
55-
args = {k: _locals[k] for k in _explicit_params if k != 'children'}
55+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
5656

5757
for k in []:
5858
if k not in args:

0 commit comments

Comments
 (0)