Skip to content

Commit 345bbc0

Browse files
committed
patch upgrade
1 parent 0c40b8d commit 345bbc0

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

+194
-364
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.42
3+
Version: 0.4.43
44
Description: Dash components for the Materials Project
55
Depends: R (>= 3.0.2)
66
Imports:

dash_mp_components/BibCard.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ 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 if k != 'children'}
62-
for k in []:
63-
if k not in args:
64-
raise TypeError(
65-
'Required argument `' + k + '` was not specified.')
61+
args = {k: _locals[k] for k in _explicit_args}
62+
6663
super(BibCard, self).__init__(**args)

dash_mp_components/BibFilter.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ 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 if k != 'children'}
63-
for k in []:
64-
if k not in args:
65-
raise TypeError(
66-
'Required argument `' + k + '` was not specified.')
62+
args = {k: _locals[k] for k in _explicit_args}
63+
6764
super(BibFilter, self).__init__(**args)

dash_mp_components/BibjsonCard.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ 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 if k != 'children'}
54-
for k in []:
55-
if k not in args:
56-
raise TypeError(
57-
'Required argument `' + k + '` was not specified.')
53+
args = {k: _locals[k] for k in _explicit_args}
54+
5855
super(BibjsonCard, self).__init__(**args)

dash_mp_components/BibtexButton.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ 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 if k != 'children'}
46-
for k in []:
47-
if k not in args:
48-
raise TypeError(
49-
'Required argument `' + k + '` was not specified.')
45+
args = {k: _locals[k] for k in _explicit_args}
46+
5047
super(BibtexButton, self).__init__(**args)

dash_mp_components/CameraContextProvider.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ 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-
for k in []:
32-
if k not in args:
33-
raise TypeError(
34-
'Required argument `' + k + '` was not specified.')
31+
3532
super(CameraContextProvider, self).__init__(children=children, **args)

dash_mp_components/CrossrefCard.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ 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 if k != 'children'}
53-
for k in []:
54-
if k not in args:
55-
raise TypeError(
56-
'Required argument `' + k + '` was not specified.')
52+
args = {k: _locals[k] for k in _explicit_args}
53+
5754
super(CrossrefCard, self).__init__(**args)

dash_mp_components/CrystalToolkitScene.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,5 @@ 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-
for k in []:
145-
if k not in args:
146-
raise TypeError(
147-
'Required argument `' + k + '` was not specified.')
144+
148145
super(CrystalToolkitScene, self).__init__(children=children, **args)

dash_mp_components/DataBlock.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,5 @@ 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-
for k in []:
62-
if k not in args:
63-
raise TypeError(
64-
'Required argument `' + k + '` was not specified.')
61+
6562
super(DataBlock, self).__init__(children=children, **args)

dash_mp_components/DataTable.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ 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 if k != 'children'}
108-
for k in []:
109-
if k not in args:
110-
raise TypeError(
111-
'Required argument `' + k + '` was not specified.')
107+
args = {k: _locals[k] for k in _explicit_args}
108+
112109
super(DataTable, self).__init__(**args)

0 commit comments

Comments
 (0)