Skip to content

Commit

Permalink
patch upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-ruoxi committed Jan 2, 2024
1 parent 0c40b8d commit 345bbc0
Show file tree
Hide file tree
Showing 59 changed files with 194 additions and 364 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashMpComponents
Title: Dash components for the Materials Project
Version: 0.4.42
Version: 0.4.43
Description: Dash components for the Materials Project
Depends: R (>= 3.0.2)
Imports:
Expand Down
7 changes: 2 additions & 5 deletions dash_mp_components/BibCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, title=
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(BibCard, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/BibFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, format
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(BibFilter, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/BibjsonCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, bibjso
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(BibjsonCard, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/BibtexButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, doi=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(BibtexButton, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/CameraContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, **kwargs):
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(CameraContextProvider, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/CrossrefCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, crossr
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(CrossrefCard, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/CrystalToolkitScene.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(CrystalToolkitScene, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/DataBlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(DataBlock, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/DataTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, data=C
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(DataTable, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/Download.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ def __init__(self, id=Component.UNDEFINED, data=Component.UNDEFINED, isBase64=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(Download, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/DownloadButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(DownloadButton, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/DownloadDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(DownloadDropdown, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/Drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Drawer, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/DrawerContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ def __init__(self, children=None, **kwargs):
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(DrawerContextProvider, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/DrawerTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(DrawerTrigger, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/Dropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Dropdown, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/DualRangeSlider.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, valueM
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(DualRangeSlider, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/Enlargeable.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Enlargeable, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/FilterField.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(FilterField, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/Formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Formula, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/GlobalSearchBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def __init__(self, redirectRoute=Component.UNDEFINED, autocompleteFormulaUrl=Com
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(GlobalSearchBar, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/GraphComponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ def __init__(self, id=Component.UNDEFINED, graph=Component.UNDEFINED, options=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(GraphComponent, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/JsonView.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ def __init__(self, id=Component.UNDEFINED, src=Component.UNDEFINED, name=Compone
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(JsonView, self).__init__(**args)
2 changes: 2 additions & 0 deletions dash_mp_components/Link.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ def __init__(self, children=None, href=Component.REQUIRED, target=Component.UNDE
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}

for k in ['href']:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Link, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/Markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Markdown, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/MatSidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def __init__(self, id=Component.UNDEFINED, currentApp=Component.UNDEFINED, appId
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(MatSidebar, self).__init__(**args)
7 changes: 2 additions & 5 deletions dash_mp_components/MaterialsInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, inputC
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(MaterialsInput, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/Modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Modal, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/ModalContextProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, active=Component.UNDEF
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(ModalContextProvider, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/ModalTrigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(ModalTrigger, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/Navbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UN
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(Navbar, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/NavbarDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,5 @@ def __init__(self, children=None, className=Component.UNDEFINED, isArrowless=Com
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(NavbarDropdown, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/NotificationDropdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@ def __init__(self, children=None, className=Component.UNDEFINED, items=Component
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(NotificationDropdown, self).__init__(children=children, **args)
7 changes: 2 additions & 5 deletions dash_mp_components/OpenAccessButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ def __init__(self, id=Component.UNDEFINED, doi=Component.UNDEFINED, className=Co
_explicit_args = kwargs.pop('_explicit_args')
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')
args = {k: _locals[k] for k in _explicit_args}

super(OpenAccessButton, self).__init__(**args)
5 changes: 1 addition & 4 deletions dash_mp_components/PeriodicContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, disabledElements=Compo
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(PeriodicContext, self).__init__(children=children, **args)
5 changes: 1 addition & 4 deletions dash_mp_components/PeriodicContextTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,5 @@ def __init__(self, children=None, id=Component.UNDEFINED, disabledElements=Compo
_locals = locals()
_locals.update(kwargs) # For wildcard attrs and excess named props
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
for k in []:
if k not in args:
raise TypeError(
'Required argument `' + k + '` was not specified.')

super(PeriodicContextTable, self).__init__(children=children, **args)
Loading

0 comments on commit 345bbc0

Please sign in to comment.