# Path: cio/pipeline/pipes/base.py
# class BasePipe(object):
#     """
#     Optional implementable pipe methods:
# 
#     def get_request(self, request):
#         pass
# 
#     def get_response(self, response):
#         return response
# 
#     def set_request(self, request):
#         pass
# 
#     def set_response(self, response):
#         return response
# 
#     def delete_request(self, request):
#         pass
# 
#     def delete_response(self, response):
#         return response
# 
#     def publish_request(self, request):
#         pass
# 
#     def publish_response(self, response):
#         return response
#     """
# 
#     def materialize_node(self, node, uri, content, meta=None):
#         """
#         Set node uri and content from backend
#         """
#         node.uri = uri
#         node.content = content
#         node.meta = meta if meta is not None else {}


from time import mktime
from datetime import datetime
from ...pipeline.pipes.base import BasePipe
# coding=utf-8
from __future__ import unicode_literals



class MetaPipe(BasePipe):

    def set_request(self, request):

# Path: cio/pipeline/pipes/base.py
# class BasePipe(object):
#     """
#     Optional implementable pipe methods:
# 
#     def get_request(self, request):
#         pass
# 
#     def get_response(self, response):
#         return response
# 
#     def set_request(self, request):
#         pass
# 
#     def set_response(self, response):
#         return response
# 
#     def delete_request(self, request):
#         pass
# 
#     def delete_response(self, response):
#         return response
# 
#     def publish_request(self, request):
#         pass
# 
#     def publish_response(self, response):
#         return response
#     """
# 
#     def materialize_node(self, node, uri, content, meta=None):
#         """
#         Set node uri and content from backend
#         """
#         node.uri = uri
#         node.content = content
#         node.meta = meta if meta is not None else {}


# Path: cio/pipeline/pipes/meta.py
from time import mktime
from datetime import datetime
from ...pipeline.pipes.base import BasePipe

# coding=utf-8
from __future__ import unicode_literals



class MetaPipe(BasePipe):

    def set_request(self, request):

        for node in request.values():