Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIn NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A datetime datetime elasticsearch_dsl.result Result rest_framework.serializers ModelSerializer fields ESTranslationSerializerField TranslationSerializerField BaseESSerializer N/A ModelSerializer N/A N/A 
    A base deserializer that handles ElasticSearch data for a specific model.

    When deserializing, an unbound instance of the model (as defined by
    fake_object) is populated with the ES data in order to work well with
    the parent model serializer (e.g., AddonSerializer).

     N/A datetime_fields N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super BaseESSerializer self __init__ args kwargs N/A field_name N/A self fields N/A N/A N/A N/A N/A self fields N/A field_name read_only True N/A N/A getattr self context N/A N/A field_name N/A self fields N/A N/A N/A N/A N/A self fields N/A field_name context N/A self context N/A get_fields N/A N/A self N/A N/A N/A 
        Return all fields as normal, with one exception: replace every instance
        of TranslationSerializerField with ESTranslationSerializerField.
         N/A fields N/A N/A N/A super BaseESSerializer self get_fields N/A N/A key field N/A N/A fields items N/A N/A N/A isinstance field TranslationSerializerField N/A N/A N/A fields N/A key N/A ESTranslationSerializerField source N/A field source N/A fields N/A to_representation N/A N/A self data N/A N/A N/A N/A isinstance data Result N/A N/A data N/A N/A data to_dict N/A obj N/A N/A self fake_object data N/A N/A N/A N/A super BaseESSerializer self to_representation obj N/A fake_object N/A N/A self data N/A N/A N/A 
        Create a fake model instance from ES data which serializer fields will
        source from.
         N/A NotImplementedError N/A handle_date N/A N/A self value N/A N/A N/A N/A value N/A N/A None N/A N/A N/A datetime strptime value %Y-%m-%dT%H:%M:%S N/A _attach_fields N/A N/A self obj data field_names N/A N/A N/A Attach fields to fake instance. N/A field_name field_names N/A N/A value N/A N/A data get field_name None N/A N/A N/A field_name N/A self datetime_fields value N/A N/A value N/A N/A self handle_date value N/A N/A setattr obj field_name value N/A obj N/A _attach_translations N/A N/A self obj data field_names N/A N/A N/A Deserialize ES translation fields. N/A field_name field_names N/A N/A N/A N/A ESTranslationSerializerField attach_translations obj data field_name N/A obj N/A N/A