Skip to content

Adding list of geo gives "Input for predicate location_olac of type scalar is uid" #24

@dwhitena

Description

@dwhitena

The parallel of this issue with the Go client: hypermodeinc/dgo#11, which I have reproduced in the Python client.

I created an index:

location_olac: [geo] @index(geo) .

and now I'm trying to add something like

'location_olac': [
  {
    'type': 'Point',
     'coordinates': [47.96056, -3.83472]
  },
  {
    'type': 'Point',
     'coordinates': [27.23453, -115.83472]
  },
]

I'm getting Input for predicate location_olac of type scalar is uid. If I take out one of the points (such that this is not a list), it works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions