Arango-orm

Latest version: v1.1.0

Safety actively analyzes 702474 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.1.0

-------------

- Graph.expand no longer uses the `/_api/traversal` endpoint via python-arango as it was deprecated and now removed in
ArangoDB. Instead graph expand now builds AQL query for graph traversal.

1.0.3

-------------

- Add and Update returned dicts instead of model objects, fixed now.

1.0.2

-------------

- Proper handling of `_rev` values. Adding or updating documents loads/reloads `key_` and `rev_` from the db
to keep the collection object consistent with backend. Without it subsequent updates on the same object would
fail due to `_rev` mismatch.
- Bugfix for `relationship` function (so it uses `key_` instead of `_key`)

1.0.1

-------------

- Support for providing filter conditions for Graph.expand

python
graph.expand(condition="vertex.city == 'Gotham'")

1.0.0

-------------

- Conversion from marshmallow to pydantic 2.x (Backward incompatible)
- Use pydantic style model definitions. Model classes still inherit from `Collection` or
`Relation` classes but these classes are now derived from pydantic's `BaseModel` class and
provide some additional functionality related to ORM.
- `Collection._dump` and `Collection._load` methods are removed in favor of already present
pydantic methods for the same tasks. Use `Collection.model_dump` and `Collection(**kwargs)`
for dumping and loading data from models respectively.
- Due to how pydantic works, built-in collection/relation fields `_key`, `_from` and `_to` must
be defined as `key_`, `from_` and `to_` in models. However `property` getters and setters are
present to allow accessing and setting these using the built-in names. See examples for deatils.

0.7.1

-------------

- Add Collection.get_schema_class(), schema() return instance instead
- Fix Collection.schema(). Marshmallow schema is recreated in case of class inheritation.
- Added Conditional Checking Of Marshmallow Fields

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.