示例#1
0
    def __init__(self,bc_account_number=None,**kwargs):
        if bc_account_number is None and kwargs.get('account',None) is None:
            self.bc_number = self.BC_ACCOUNT_NUM
        else:
            if bc_account_number is not None:
                self.bc_number = bc_account_number
            else:
                self.bc_number = kwargs.get('account',None)

        self._internal_camper = Camper(**get_me(self.bc_number))
        self._todos = []
        for attr in dir(self._internal_camper):
            if not attr.startswith('_'):
                setattr(self,attr,getattr(self._internal_camper,attr))
        self._get_todos()
        
        self._get_projects()
示例#2
0
 def me(self):
     return get_me(BC)