Remove two classes that havent been used in almost a year
This commit is contained in:
parent
8c57844a22
commit
eb566b0f71
17
kmk/types.py
17
kmk/types.py
@ -11,23 +11,6 @@ class AttrDict(dict):
|
|||||||
return self[key]
|
return self[key]
|
||||||
|
|
||||||
|
|
||||||
class Anything:
|
|
||||||
'''
|
|
||||||
A stub class which will repr as a provided name
|
|
||||||
'''
|
|
||||||
|
|
||||||
def __init__(self, name):
|
|
||||||
self.name = name
|
|
||||||
|
|
||||||
def __repr__(self):
|
|
||||||
return 'Anything<{}>'.format(self.name)
|
|
||||||
|
|
||||||
|
|
||||||
class Passthrough:
|
|
||||||
def __getattr__(self, attr):
|
|
||||||
return Anything(attr)
|
|
||||||
|
|
||||||
|
|
||||||
class LayerKeyMeta:
|
class LayerKeyMeta:
|
||||||
def __init__(self, layer, kc=None):
|
def __init__(self, layer, kc=None):
|
||||||
self.layer = layer
|
self.layer = layer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user