Skip to content
Snippets Groups Projects
Verified Commit 749ac571 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

docs/db: Update datastore requirement

This is the second part of 240ae09d.

Related to T4228
parent 240ae09d
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ conditions are expected:
returning an instance of the datastore object. Normally, this datastore
object uses ``swh.core.db.BaseDb`` to interact with the actual database.
- The datastore object should provide a ``get_current_version()`` method
returning the database version expected by the code.
- The datastore object should provide a ``current_version`` attribute returning the
database version expected by the code.
See existing ``swh`` packages like ``swh.storage`` or ``swh.scheduler`` for
usage examples.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment