data_base
❭ dbopen
❭ resolve_reldb_path
resolve_reldb_path¶
-
data_base.dbopen.resolve_reldb_path(path, db_basedir=
None
)¶ Resolve a relative database path
Relative database paths are of the form
reldb://...
. They are used for references to files that are known to be within the same database. Figuring out the absolute file location is then a matter of finding the shared parent database path.This method takes a relative path and a database, and returns the absolute path.
Attention
Relative database paths always refer to the first parent database in the path. If the database is a sub-database, the path will be relative to the sub-database, not the parent database.