Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore ListLoad TupleLoad ListLoad Num Num ListLoad Num Num TupleLoad ListLoad Num Num ListLoad Num Num TupleLoad ListLoad Str Str ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad ListLoad Num Num Num Str TupleLoad ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad ListLoad ListLoad Num Num ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Str TupleLoad ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad Num Num Dict Str Str Str ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Num Str TupleLoad ListLoad ListLoad Num Num ListLoad Num Num Num Str TupleLoad ListLoad ListLoad Num Num ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad Num Num ListLoad Num Num Dict Str Str Str ListLoad ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad ListLoad Num Num ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Num Str TupleLoad ListLoad ListLoad Num Num ListLoad Num Num Num Str TupleLoad ListLoad ListLoad Num Num ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad Num Num ListLoad Num Num Dict Str Str Str ListLoad ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Num Str TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num Num Str TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Dict Str Str Str ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Num Str TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num Num Str TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Str Str Str TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Dict Str Str Str ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num TupleLoad Dict Str Str Str ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad Num Str TupleLoad Dict Str Str Str ListLoad Num Num Str TupleLoad Dict Str Str Str Num Str TupleLoad ListLoad Num Num Num Num Str TupleLoad ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num Num Str TupleLoad ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Str Str Str TupleLoad ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Str Assign NameStore ListLoad TupleLoad ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Dict Str Str Str ListLoad ListLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str Assert CompareEq Call NameLoad Call NameLoad NameLoad decorator_list decorator_list
N/A django.test TestCase mongoengine Document fields rest_framework.compat unicode_repr rest_framework_mongoengine.fields GeoJSONField GeoPointField rest_framework_mongoengine.serializers DocumentSerializer utils FieldTest dedent TestGeoPointField N/A FieldTest TestCase N/A N/A field N/A GeoPointField N/A valid_inputs N/A N/A N/A 0.1 0.2 N/A 0.1 0.2 N/A N/A 1 2 N/A 1.0 2.0 N/A N/A 0.1 0.2 N/A 0.1 0.2 N/A invalid_inputs N/A N/A 0.1 must be a list N/A N/A 0.1 0.2 0.3 must be a two-dimensional N/A N/A xxx xxx must be float or int N/A outputs N/A N/A N/A 0.1 0.2 N/A 0.1 0.2 N/A TestPointField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField Point N/A valid_inputs N/A N/A N/A 0.1 0.2 N/A 0.1 0.2 N/A N/A type coordinates Point N/A 0.1 0.2 N/A 0.1 0.2 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Polygon N/A N/A N/A 0.1 0.2 N/A 0.1 0.2 expected to be 'Point' N/A N/A type coordinates Point 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 must be a two-dimensional N/A N/A xxx xxx must be float or int N/A outputs N/A N/A N/A 0.1 0.2 N/A type coordinates Point N/A 0.1 0.2 N/A TestMultiPointField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField MultiPoint N/A valid_inputs N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A type coordinates MultiPoint N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Point N/A 0.1 0.2 expected to be 'MultiPoint' N/A N/A type coordinates MultiPoint 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 0.4 must contain at least one N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 0.5 must be a two-dimensional N/A N/A N/A 0.1 0.2 N/A xxx xxx must be float or int N/A outputs N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A type coordinates MultiPoint N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A TestLineField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField LineString N/A valid_inputs N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A type coordinates LineString N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Point N/A 0.1 0.2 expected to be 'LineString' N/A N/A type coordinates LineString 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 0.4 must contain at least one N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 0.5 must be a two-dimensional N/A N/A N/A 0.1 0.2 N/A xxx xxx must be float or int N/A outputs N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A type coordinates LineString N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A TestMultiLineField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField MultiLineString N/A valid_inputs N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A N/A type coordinates MultiLineString N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Point N/A 0.1 0.2 expected to be 'MultiLineString' N/A N/A type coordinates MultiLineString 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 0.4 must contain at least one N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 0.5 must be a two-dimensional N/A N/A N/A N/A 0.1 0.2 N/A xxx xxx must be float or int N/A outputs N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A type coordinates MultiLineString N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 N/A TestPolyField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField Polygon N/A valid_inputs N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A type coordinates Polygon N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Point N/A 0.1 0.2 expected to be 'Polygon' N/A N/A type coordinates Polygon 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 0.4 must contain at least one N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 0.5 must be a two-dimensional N/A N/A N/A N/A 0.1 0.2 N/A xxx xxx must be float or int N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 must start and end N/A outputs N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A type coordinates Polygon N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A TestMultiPolyField N/A FieldTest TestCase N/A N/A field N/A GeoJSONField MultiPolygon N/A valid_inputs N/A N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A type coordinates MultiPolygon N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A invalid_inputs N/A N/A 0.1 must be a geojson geometry or a geojson coordinates N/A N/A type coordinates Point N/A 0.1 0.2 expected to be 'MultiPolygon' N/A N/A type coordinates MultiPolygon 0.1 can only accept lists N/A N/A 0.1 0.2 0.3 0.4 must contain at least one N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 0.5 must be a two-dimensional N/A N/A N/A N/A N/A 0.1 0.2 N/A xxx xxx must be float or int N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.7 0.8 must start and end N/A outputs N/A N/A N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A type coordinates MultiPolygon N/A N/A N/A N/A 0.1 0.2 N/A 0.3 0.4 N/A 0.5 0.6 N/A 0.1 0.2 N/A GeoDoc N/A Document N/A N/A geo_point_field N/A N/A fields GeoPointField N/A point_field N/A N/A fields PointField N/A line_field N/A N/A fields LineStringField N/A poly_field N/A N/A fields PolygonField N/A multi_point_field N/A N/A fields MultiPointField N/A multi_line_field N/A N/A fields MultiLineStringField N/A multi_poly_field N/A N/A fields MultiPolygonField N/A TestGeoMapping N/A TestCase N/A test_mapping N/A N/A self N/A N/A TestSerializer N/A DocumentSerializer N/A Meta N/A N/A N/A model GeoDoc N/A N/A N/A expected N/A dedent 
            TestSerializer():
                id = ObjectIdField(read_only=True)
                geo_point_field = GeoPointField(required=False)
                point_field = GeoJSONField(geo_type='Point', required=False)
                line_field = GeoJSONField(geo_type='LineString', required=False)
                poly_field = GeoJSONField(geo_type='Polygon', required=False)
                multi_point_field = GeoJSONField(geo_type='MultiPoint', required=False)
                multi_line_field = GeoJSONField(geo_type='MultiLineString', required=False)
                multi_poly_field = GeoJSONField(geo_type='MultiPolygon', required=False)
         N/A N/A N/A unicode_repr N/A TestSerializer expected N/A N/A