Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Expr Str If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword BinOpAdd NameLoad Num If BoolOpOr UnaryOpNot NameLoad Call NameLoad NameLoad Str NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad If CompareNotIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad If CompareEq NameLoad Num body Return If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list decorator_list
N/A N/A This module contains response processors. collections defaultdict django.utils six rest_framework.serializers ListSerializer rest_framework.utils.serializer_helpers ReturnDict dynamic_rest.conf settings dynamic_rest.tagged TaggedDict SideloadingProcessor N/A object N/A N/A A processor that sideloads serializer data.

    Sideloaded records are returned under top-level
    response keys and produces responses that are
    typically smaller than their nested equivalent.
     N/A prefix N/A settings ADDITIONAL_PRIMARY_RESOURCE_PREFIX __init__ N/A N/A self serializer data N/A N/A N/A Initializes and runs the processor.

        Arguments:
            serializer: a DREST serializer
            data: the serializer's representation
         N/A N/A isinstance serializer ListSerializer N/A N/A serializer N/A serializer child N/A N/A self data N/A N/A N/A self seen N/A defaultdict set N/A N/A self plural_name N/A N/A serializer get_plural_name N/A N/A self name N/A N/A serializer get_name N/A N/A N/A self process data N/A resource_name N/A N/A isinstance data dict N/A self name N/A self plural_name N/A N/A N/A self data N/A resource_name data N/A is_dynamic N/A N/A self data N/A N/A N/A Check whether the given data dictionary is a DREST structure.

        Arguments:
            data: A dictionary representation of a DRF serializer.
         N/A N/A isinstance data TaggedDict N/A process N/A N/A self obj parent parent_key depth N/A None None 0 N/A N/A Recursively process the data for sideloading.

        Converts the nested representation into a sideloaded representation.
         N/A N/A isinstance obj list N/A N/A N/A key o N/A enumerate obj N/A N/A N/A N/A self process o parent obj parent_key key depth depth N/A N/A N/A isinstance obj dict N/A N/A dynamic N/A N/A self is_dynamic obj N/A returned N/A isinstance obj ReturnDict N/A N/A dynamic returned N/A N/A N/A key o N/A N/A six iteritems obj N/A N/A N/A N/A isinstance o list N/A isinstance o dict N/A N/A N/A N/A self process o parent obj parent_key key depth N/A depth 1 N/A N/A N/A dynamic N/A getattr obj embed False N/A N/A N/A name N/A N/A N/A obj serializer get_plural_name N/A pk N/A N/A obj pk_value N/A N/A obj instance pk N/A pk_key N/A repr pk N/A seen True N/A N/A pk_key N/A N/A self seen N/A name N/A N/A seen False N/A N/A N/A N/A N/A self seen N/A name add pk_key N/A N/A depth 0 N/A N/A N/A N/A name N/A self plural_name N/A N/A name N/A %s%s N/A N/A self prefix name N/A N/A seen N/A N/A N/A name N/A self data N/A N/A N/A N/A self data N/A name N/A N/A N/A N/A N/A N/A self data N/A name append obj N/A N/A N/A parent None N/A parent_key None N/A N/A N/A parent N/A parent_key pk N/A N/A