Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.py 286B

123456789101112
  1. from __future__ import absolute_import, division, unicode_literals
  2. class Filter(object):
  3. def __init__(self, source):
  4. self.source = source
  5. def __iter__(self):
  6. return iter(self.source)
  7. def __getattr__(self, name):
  8. return getattr(self.source, name)