ssb_tbmd_apis.oracle_direct package¶
ssb_tbmd_apis.oracle_direct.oracle_paths module¶
- paths_in_substamme(stamme_substamme, database)¶
Try to recreate the paths used by Datadok under a stamme and substamme.
- Parameters:
stamme_substamme (
list[tuple[str,str]] |tuple[str,str] |str) – Stamme/substamme input in string, tuple, or list form.database (
str) – Database name or DSN for the Oracle connection.
- Return type:
list[str]
- Accepts:
“$stamme/substamme” or “stamme/substamme”
(stamme, substamme)
list of (stamme, substamme)
- Returns:
Full datadok paths (with a single leading ‘$’).
- Return type:
list[str]
- Parameters:
stamme_substamme (list[tuple[str, str]] | tuple[str, str] | str)
database (str)