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.
- Accepts:
“$stamme/substamme” or “stamme/substamme”
(stamme, substamme)
list of (stamme, substamme)
- Returns:
Full datadok paths (with a single leading ‘$’).
- Return type:
list[str]
- Raises:
TypeError – On malformed input shapes or element types.
OraError – If the database operations fail.
- Parameters:
stamme_substamme (list[tuple[str, str]] | tuple[str, str] | str)
database (str)