Questions tagged [pyarango]

Python Object Wrapper for ArangoDB with built-in validation

Python Object Wrapper for ArangoDB with built-in validation https://pyarango.readthedocs.io

44 questions
0
votes
1 answer

how to bucket aggregate on arangodb

Imagine i have a Edge Document Like This : [{ "_from": "mobiles/12345", "_to": "mobiles/54321", "type": "call", }, { "_from": "mobiles/54321", "_to": "mobiles/32145", "type": "sms", }, { "_from": "mobiles/54321", …
Devnerd
  • 3
  • 1
0
votes
1 answer

ArangoDB Join Edge collections

I have 1 node and two edge collections. I want to write an AQL query to find the common nodes between the two edge collections. How can I join two edge collections as there is not common field in the 2 edge collections to query. As I am trying to…
pavan sai
  • 45
  • 1
  • 1
  • 5
0
votes
0 answers

Querying through different collection in Arango DB and applying filter on path edges

I have graph DB structure as shown in image below. As described, I have 3 document collection - Collection 1, Collection 2, Collection 3. I also have 2 Edge collections - Edge Collection 1 have an attribute type which can take two values T1 or T2,…
Plasmatiger
  • 197
  • 2
  • 12
0
votes
1 answer

Queries over several Databases in ArangoDB

I wonder if there are options to use an AQL-Query over several Databases? Using pyArango I know you could write a script that iterates over all databases and executes the AQL, but natively, is that possible?
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
1 answer

Using Foxx CLI to Create Service

I am using Foxx service CLI Server to create API service during time error came as" Server refused authorization. Either your credentials are invalid or the user has insufficient privileges" so kindly help me
0
votes
0 answers

Clone/Backup of ArangoDB-Collection with Python

Is there a Pythonic way to do a quick backup or a copy of a collection (document and edge)? The regular way seems to be using arangodump/arangoimp in the console. Also there are some tutorials on how to do a full backup on a different server in…
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
1 answer

Arangodb not connecting using localhost but accessible using external IP

I installed arangodb on single node ubuntu server, followed this below is my arangod.conf file: endpoint = tcp://127.0.0.1:8529 endpoint = tcp://:8529 I did enable both of them. Now i am able to access arango using below on my…
toofrellik
  • 1,277
  • 4
  • 15
  • 39
0
votes
2 answers

TypeError: string indices must be integers on ArangoDB

Arango module gives a weird error while accessing databases: from arango import ArangoClient client = ArangoClient(hosts='http://localhost:8529/') sys_db = client.db('_system', username='root', password='root') sys_db.databases() below is the…
toofrellik
  • 1,277
  • 4
  • 15
  • 39
0
votes
2 answers

Can't connect to arangodb using Java API

I have a problem when accessing arangodb using Java driver. When i run my application, it runs but neither it shows any response and nor it throws any error. Then i think it must be something on my connection to the remote arangodb server, and i…
boy
  • 29
  • 5
0
votes
2 answers

Rename collection with pyArango

I'm trying to rename a ArangoDB collection using pyArango. This is what I have so far: connection = pyArango.Connection('http://random-address', username='random-username', password='random-password') test_db = Database(connection,…
Stanko
  • 4,275
  • 3
  • 23
  • 51
0
votes
2 answers

ArangoDB - Collection not found error though the collection is created

I am creating an edge "has_taken" between two documents as follows: sin_graph.createEdge("has_taken", userDoc._id, tripDoc._id, edgeAttributes={}) And I am getting the following error: File "/Library/Python/2.7/site-packages/pyArango/graph.py", line…
Aditya Borde
  • 1,227
  • 2
  • 12
  • 31
0
votes
1 answer

Batch Requests into ArangoDB failing

I am trying to import many thousands of records into Arango. I am attempting to use the batch/bulk import feature of Arango described at: https://docs.arangodb.com/3.0/HTTP/BatchRequest/index.html to do a combination of PUT and POST requests to…
-1
votes
0 answers

How to use Arango Pregel Algorithms

Give some Ideas to use Pregel Algorithms. Give some Ideas to use Pregel Algorithms like Page rank...... I need to use Pregel Algorithm for project using java. I also referred some…
-1
votes
1 answer

Using foxx microservices vs pyarango

I want to set up an api that will query arabgodb. I am debating whether to set use foxx microservices or have a backend that will use pyarango to query the db. What are the pros and cons of both options?
1 2
3