human
Complete this python program:
def filter_factory(global_conf, **local_conf):
assistant
#Here is the Python code you requested.

    """Returns a WSGI filter app for use with paste.deploy.
    """
    register_swift_info('account_quotas')
    def account_quota_filter(app):
        return AccountQuotaMiddleware(app)
    return account_quota_filter