django_elasticsearch_dsl_drf.fields package

Submodules

django_elasticsearch_dsl_drf.fields.common module

Common fields.

class django_elasticsearch_dsl_drf.fields.common.BooleanField(*args, **kwargs)[source]

Bases: rest_framework.fields.BooleanField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.common.CharField(*args, **kwargs)[source]

Bases: rest_framework.fields.CharField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.common.DateField(*args, **kwargs)[source]

Bases: rest_framework.fields.DateField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.common.FloatField(*args, **kwargs)[source]

Bases: rest_framework.fields.FloatField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.common.IPAddressField(*args, **kwargs)[source]

Bases: rest_framework.fields.IPAddressField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.common.IntegerField(*args, **kwargs)[source]

Bases: rest_framework.fields.IntegerField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

django_elasticsearch_dsl_drf.fields.helpers module

Helpers.

django_elasticsearch_dsl_drf.fields.helpers.to_representation(value)[source]

To representation.

django_elasticsearch_dsl_drf.fields.nested_fields module

Nested fields.

class django_elasticsearch_dsl_drf.fields.nested_fields.GeoPointField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Geo point field.

class django_elasticsearch_dsl_drf.fields.nested_fields.GeoShapeField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Geo shape field.

class django_elasticsearch_dsl_drf.fields.nested_fields.ListField(*args, **kwargs)[source]

Bases: rest_framework.fields.Field

List field.

get_value(dictionary)[source]

Get value.

to_internal_value(data)[source]

To internal value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.nested_fields.NestedField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Nested field.

class django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField(*args, **kwargs)[source]

Bases: rest_framework.fields.Field

Object field.

get_value(dictionary)[source]

Get value.

to_internal_value(data)[source]

To internal value.

to_representation(value)[source]

To representation.

Module contents

Fields.

class django_elasticsearch_dsl_drf.fields.BooleanField(*args, **kwargs)[source]

Bases: rest_framework.fields.BooleanField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.CharField(*args, **kwargs)[source]

Bases: rest_framework.fields.CharField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.DateField(*args, **kwargs)[source]

Bases: rest_framework.fields.DateField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.FloatField(*args, **kwargs)[source]

Bases: rest_framework.fields.FloatField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.GeoPointField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Geo point field.

class django_elasticsearch_dsl_drf.fields.GeoShapeField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Geo shape field.

class django_elasticsearch_dsl_drf.fields.IPAddressField(*args, **kwargs)[source]

Bases: rest_framework.fields.IPAddressField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.IntegerField(*args, **kwargs)[source]

Bases: rest_framework.fields.IntegerField

Object field.

get_value(dictionary)[source]

Get value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.ListField(*args, **kwargs)[source]

Bases: rest_framework.fields.Field

List field.

get_value(dictionary)[source]

Get value.

to_internal_value(data)[source]

To internal value.

to_representation(value)[source]

To representation.

class django_elasticsearch_dsl_drf.fields.NestedField(*args, **kwargs)[source]

Bases: django_elasticsearch_dsl_drf.fields.nested_fields.ObjectField

Nested field.

class django_elasticsearch_dsl_drf.fields.ObjectField(*args, **kwargs)[source]

Bases: rest_framework.fields.Field

Object field.

get_value(dictionary)[source]

Get value.

to_internal_value(data)[source]

To internal value.

to_representation(value)[source]

To representation.