Commit b6d0aebc authored by Joel Collins's avatar Joel Collins
Browse files

Pass kwargs to methodview

parent ce6d281d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -97,14 +97,14 @@ def index():

class MicroscopeView(MethodView):

    def __init__(self, microscope):
    def __init__(self, microscope, **kwargs):
        """
        Create a generic MethodView with a globally available
        microscope object passed as an argument.
        """
        self.microscope = microscope

        MethodView.__init__(self)
        MethodView.__init__(self, **kwargs)


class StreamAPI(MicroscopeView):