Skip to content

Commit aa3abb3

Browse files
committed
bump react version 0.3.14
1 parent 6c5d193 commit aa3abb3

Some content is hidden

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

59 files changed

+10100
-7731
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dashMpComponents
22
Title: Dash components for the Materials Project
3-
Version: 0.4.43
3+
Version: 0.4.44
44
Description: Dash components for the Materials Project
55
Depends: R (>= 3.0.2)
66
Imports:

dash_mp_components/BibCard.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, title=
5858
_explicit_args = kwargs.pop('_explicit_args')
5959
_locals = locals()
6060
_locals.update(kwargs) # For wildcard attrs and excess named props
61-
args = {k: _locals[k] for k in _explicit_args}
62-
61+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
62+
for k in []:
63+
if k not in args:
64+
raise TypeError(
65+
'Required argument `' + k + '` was not specified.')
6366
super(BibCard, self).__init__(**args)

dash_mp_components/BibFilter.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, format
5959
_explicit_args = kwargs.pop('_explicit_args')
6060
_locals = locals()
6161
_locals.update(kwargs) # For wildcard attrs and excess named props
62-
args = {k: _locals[k] for k in _explicit_args}
63-
62+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
63+
for k in []:
64+
if k not in args:
65+
raise TypeError(
66+
'Required argument `' + k + '` was not specified.')
6467
super(BibFilter, self).__init__(**args)

dash_mp_components/BibjsonCard.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, bibjso
5050
_explicit_args = kwargs.pop('_explicit_args')
5151
_locals = locals()
5252
_locals.update(kwargs) # For wildcard attrs and excess named props
53-
args = {k: _locals[k] for k in _explicit_args}
54-
53+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
54+
for k in []:
55+
if k not in args:
56+
raise TypeError(
57+
'Required argument `' + k + '` was not specified.')
5558
super(BibjsonCard, self).__init__(**args)

dash_mp_components/BibtexButton.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, doi=Co
4242
_explicit_args = kwargs.pop('_explicit_args')
4343
_locals = locals()
4444
_locals.update(kwargs) # For wildcard attrs and excess named props
45-
args = {k: _locals[k] for k in _explicit_args}
46-
45+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
46+
for k in []:
47+
if k not in args:
48+
raise TypeError(
49+
'Required argument `' + k + '` was not specified.')
4750
super(BibtexButton, self).__init__(**args)

dash_mp_components/CameraContextProvider.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, **kwargs):
2828
_locals = locals()
2929
_locals.update(kwargs) # For wildcard attrs and excess named props
3030
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
31-
31+
for k in []:
32+
if k not in args:
33+
raise TypeError(
34+
'Required argument `' + k + '` was not specified.')
3235
super(CameraContextProvider, self).__init__(children=children, **args)

dash_mp_components/CrossrefCard.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, crossr
4949
_explicit_args = kwargs.pop('_explicit_args')
5050
_locals = locals()
5151
_locals.update(kwargs) # For wildcard attrs and excess named props
52-
args = {k: _locals[k] for k in _explicit_args}
53-
52+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
53+
for k in []:
54+
if k not in args:
55+
raise TypeError(
56+
'Required argument `' + k + '` was not specified.')
5457
super(CrossrefCard, self).__init__(**args)

dash_mp_components/CrystalToolkitScene.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
141141
_locals = locals()
142142
_locals.update(kwargs) # For wildcard attrs and excess named props
143143
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
144-
144+
for k in []:
145+
if k not in args:
146+
raise TypeError(
147+
'Required argument `' + k + '` was not specified.')
145148
super(CrystalToolkitScene, self).__init__(children=children, **args)

dash_mp_components/DataBlock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,8 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
5858
_locals = locals()
5959
_locals.update(kwargs) # For wildcard attrs and excess named props
6060
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
61-
61+
for k in []:
62+
if k not in args:
63+
raise TypeError(
64+
'Required argument `' + k + '` was not specified.')
6265
super(DataBlock, self).__init__(children=children, **args)

dash_mp_components/DataTable.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, data=C
104104
_explicit_args = kwargs.pop('_explicit_args')
105105
_locals = locals()
106106
_locals.update(kwargs) # For wildcard attrs and excess named props
107-
args = {k: _locals[k] for k in _explicit_args}
108-
107+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
108+
for k in []:
109+
if k not in args:
110+
raise TypeError(
111+
'Required argument `' + k + '` was not specified.')
109112
super(DataTable, self).__init__(**args)

0 commit comments

Comments
 (0)