introspect
introspect ¤
Introspection: answer "what does this detector method emit?".
One call instead of crawling the registry, the archetype table and the override table by hand::
from ts_shape.eventlog import describe
describe("OEEEvents.oee")
describe ¤
describe(detector: str) -> dict[str, Any]
Return everything ts-shape knows about a detector method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
detector
|
str
|
|
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
A dict with |
dict[str, Any]
|
class: |
dict[str, Any]
|
|
dict[str, Any]
|
|
dict[str, Any]
|
|
dict[str, Any]
|
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
KeyError
|
If the method has no taxonomy entry. |