Questions about TFX? Join us at Google I/O!

tfx.orchestration.kubeflow.utils.fix_brackets

Fix the imbalanced brackets in placeholder.

When ptype is not null, regex matching might grab a placeholder with } missing. This function fix the missing bracket.

placeholder string placeholder of RuntimeParameter

Placeholder with re-balanced brackets.

RuntimeError if left brackets are less than right brackets.