Content-Length: 273005 | pFad | https://github.com/googleapis/python-aiplatform/commit/6f2860aafce9b77819a3891fb6c29bfb65ea8a2a

B8 fix: Fix error when allowed_plugins is set to None. · googleapis/python-aiplatform@6f2860a · GitHub
Skip to content

Commit 6f2860a

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: Fix error when allowed_plugins is set to None.
PiperOrigin-RevId: 586451587
1 parent a34533f commit 6f2860a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

google/cloud/aiplatform/tensorboard/uploader_tracker.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,12 @@ def _create_uploader(
255255
)
256256

257257
plugins = uploader_constants.ALLOWED_PLUGINS
258-
plugins += [
259-
plugin
260-
for plugin in allowed_plugins
261-
if plugin not in uploader_constants.ALLOWED_PLUGINS
262-
]
258+
if allowed_plugins:
259+
plugins += [
260+
plugin
261+
for plugin in allowed_plugins
262+
if plugin not in uploader_constants.ALLOWED_PLUGINS
263+
]
263264

264265
tensorboard_uploader = TensorBoardUploader(
265266
experiment_name=tensorboard_experiment_name,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-aiplatform/commit/6f2860aafce9b77819a3891fb6c29bfb65ea8a2a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy