From 80f59011917966b4c45fc965361f7973abd8d11a Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Fri, 1 May 2026 21:59:58 +0200 Subject: [PATCH] Let tfdoc understand sensitive variables (#3925) --- tools/tfdoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tfdoc.py b/tools/tfdoc.py index ce61b61af..9d7186e58 100755 --- a/tools/tfdoc.py +++ b/tools/tfdoc.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright 2025 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -119,7 +119,7 @@ VAR_RE = re.compile(r'''(?smx) (?:^(.*?)$) ''') VAR_RE_TYPE = re.compile(r'([\(\{\}\)])') -VAR_TEMPLATE = ('default', 'description', 'type', 'nullable') +VAR_TEMPLATE = ('default', 'description', 'type', 'nullable', 'sensitive') Document = collections.namedtuple('Document', 'content files variables outputs recipes',