dpmcore.services.explorer
Reverse lookups over the DPM dictionary: resolve a variable by code, find where a variable is used, and search for tables. Release-aware.
ExplorerService
- class dpmcore.services.explorer.ExplorerService(session)[source]
Bases:
objectIntrospection / reverse-lookup queries on the DPM model.
- Parameters:
session (
Session) – An open SQLAlchemy session.
- __init__(session)[source]
Build the service bound to
session.- Parameters:
session (Session)
- Return type:
None
- get_variable_by_code(variable_code, release_id=None, release_code=None)[source]
Look up a variable by its code.