# Path: dockit/core/serializers/base.py
# class Serializer(object):
# class Deserializer(object):
# class UnSet:
# class DeserializedObject(object):
#     def serialize(self, queryset, **options):
#     def start_serialization(self):
#     def end_serialization(self):
#     def start_object(self, obj):
#     def end_object(self, obj):
#     def getvalue(self):
#     def __init__(self, stream_or_string, **options):
#     def __iter__(self):
#     def next(self):
#     def __init__(self, obj, natural_key=UnSet):
#     def __repr__(self):
#     def save(self, enforce_natural_key=True):
# 
# Path: dockit/schema/loading.py
# def get_base_document(self, key):
#     if self.pending_documents and self.app_cache_ready():
#         self.post_app_ready()
#     return self.documents[key]


from django.utils.encoding import smart_unicode
from dockit.core.serializers import base
from dockit.schema.loading import get_base_document
"""
A Python "serializer". Doesn't do much serializing per se -- just converts to
and from basic Python data types (lists, dicts, strings, etc.). Useful as a basis for
other serializers.
"""




# Path: dockit/core/serializers/base.py
# class Serializer(object):
# class Deserializer(object):
# class UnSet:
# class DeserializedObject(object):
#     def serialize(self, queryset, **options):
#     def start_serialization(self):
#     def end_serialization(self):
#     def start_object(self, obj):
#     def end_object(self, obj):
#     def getvalue(self):
#     def __init__(self, stream_or_string, **options):
#     def __iter__(self):
#     def next(self):
#     def __init__(self, obj, natural_key=UnSet):
#     def __repr__(self):
#     def save(self, enforce_natural_key=True):
# 
# Path: dockit/schema/loading.py
# def get_base_document(self, key):
#     if self.pending_documents and self.app_cache_ready():
#         self.post_app_ready()
#     return self.documents[key]


# Path: dockit/core/serializers/python.py
from django.utils.encoding import smart_unicode
from dockit.core.serializers import base
from dockit.schema.loading import get_base_document

"""
A Python "serializer". Doesn't do much serializing per se -- just converts to
and from basic Python data types (lists, dicts, strings, etc.). Useful as a basis for
other serializers.
"""




class Serializer(base.Serializer):