GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( ca815e...75484e )
by Benjamin
11:24
created

Node.addEventListener()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
1
class Node():
2
    def __init__(self, driver, name=None):
3
        with driver:
4
            self._driver = driver
5
        self._name = name
6
7
    def __enter__(self):
8
        self.start()
9
10
    def __exit__(self, exc_type, exc_val, exc_tb):
11
        self.stop()
12
13
    def start(self):
14
        pass
15
16
    def stop(self):
17
        pass
18
19
    def reset(self):
20
        pass
21
22
    def getCapabilities(self):
23
        pass
24
25
    def addEventListener(self, callback):
26
        pass