The data_interfaces library defines 4 wrapper methods:
|
def juju_secrets_only(f): |
|
def dynamic_secrets_only(f): |
|
def either_static_or_dynamic_secrets(f): |
These method do not update the wrapper context to the original method context, making it harder to trace / follow in logs.
In the case of the charm library: charms.tempo_k8s.v1.charm_tracing. it even makes impossible as the the trace_type method will fail: canonical/tempo-k8s-operator#155
The data_interfaces library defines 4 wrapper methods:
data-platform-libs/lib/charms/data_platform_libs/v0/data_interfaces.py
Line 485 in c0d6387
data-platform-libs/lib/charms/data_platform_libs/v0/data_interfaces.py
Line 500 in c0d6387
data-platform-libs/lib/charms/data_platform_libs/v0/data_interfaces.py
Line 511 in c0d6387
data-platform-libs/lib/charms/data_platform_libs/v0/data_interfaces.py
Line 524 in c0d6387
These method do not update the wrapper context to the original method context, making it harder to trace / follow in logs.
In the case of the charm library: charms.tempo_k8s.v1.charm_tracing. it even makes impossible as the the trace_type method will fail: canonical/tempo-k8s-operator#155