10 lines
201 B
Python
10 lines
201 B
Python
|
#!/usr/bin;env python3
|
||
|
# -*- encoding: utf-8 -*-
|
||
|
|
||
|
class Objectify(object):
|
||
|
def __init__(self, d: dict):
|
||
|
self.__dict__ = d
|
||
|
@property
|
||
|
def as_dict(self):
|
||
|
return self.__dict__
|