Skip to content

Commit

Permalink
Refactor component registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Oct 31, 2018
1 parent 1aac5b3 commit b85ec7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dash/development/base_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class ComponentRegistry(abc.ABCMeta):
"""Just importing a component lib will make it be loaded on the index"""

component_registry = set()


# pylint: disable=arguments-differ
def __new__(mcs, name, bases, attributes):
component = abc.ABCMeta.__new__(mcs, name, bases, attributes)
if name == 'Component':
Expand Down

0 comments on commit b85ec7f

Please sign in to comment.