AttributeDictionary   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __init__() 0 3 1
1
"""Shared types."""
2
3
4
class AttributeDictionary(dict):
5
    """A `dict` with keys available as attributes."""
6
7
    def __init__(self, *args, **kwargs):
8
        super().__init__(*args, **kwargs)
9
        self.__dict__ = self
10