tdfs4ds.attached_registry¶
tdfs4ds.attached_registry
¶
Which views and tables are attached to the feature store (0.3.5.2): the marker's reads and its end (detach); no documentation is written here.
The marker is the reserved business-dictionary section ATTACHED written by
genai.attached_objects.attach_objects. This module only reads it, so the lineage
rebuild, the removal guard and the workflow assessment can use it without importing the
documentation (LLM) package.
logger_safe
¶
Wrapper around the global logger that only emits logs when
tdfs4ds.DISPLAY_LOGS is True. level is a string like "info", "error", etc.
sql_literal
¶
Escape value for use inside a single-quoted SQL string literal.
For the DBC probes and catalog predicates that compare a name as data
(WHERE DatabaseName = '…'). The caller supplies the surrounding quotes.
attached_objects
¶
The attached objects: DATABASE_NAME, OBJECT_NAME, KIND ('V' / 'T'), DATA_DOMAIN,
DOCUMENTED_AT (optionally of one data domain).
attached_view_names
¶
[(db, view)] of the attached views (the lineage rebuild seeds them).
attached_readers
¶
{'DB.VIEW': ['DB.DATASET', ...]}: the attached views reading any of objects
('db.name' strings), from the sources recorded at their last pass. One read.
attached_index
¶
{(DB, OBJ): 'V' | 'T'} of the attached objects (the agent's scope). Fail-open: {}.
detach_objects
¶
End the ATTACHED marker. The documentation stays; the lineage edges of a view
are closed by the next full rebuild_lineage_graph (it is no longer seeded).