@@ -1243,8 +1243,8 @@ def __init__(
1243
1243
staging_bucket set in aiplatform.init.
1244
1244
1245
1245
Raises:
1246
- RuntimeError: If staging bucket was not set using aiplatform.init and a staging
1247
- bucket was not passed in.
1246
+ RuntimeError: If staging bucket was not set using aiplatform.init
1247
+ and a staging bucket was not passed in.
1248
1248
"""
1249
1249
1250
1250
super ().__init__ (project = project , location = location , credentials = credentials )
@@ -1458,8 +1458,8 @@ def from_local_script(
1458
1458
staging_bucket set in aiplatform.init.
1459
1459
1460
1460
Raises:
1461
- RuntimeError: If staging bucket was not set using aiplatform.init and a staging
1462
- bucket was not passed in.
1461
+ RuntimeError: If staging bucket was not set using aiplatform.init
1462
+ and a staging bucket was not passed in.
1463
1463
"""
1464
1464
1465
1465
project = project or initializer .global_config .project
@@ -1842,10 +1842,11 @@ def submit(
1842
1842
Optional. The timeout for the create request in seconds.
1843
1843
1844
1844
Raises:
1845
- ValueError: if both `experiment` and `tensorboard` are specified
1846
- or if `enable_autolog` is True in `CustomJob.from_local_script`
1847
- but `experiment` is not specified or the specified experiment
1848
- doesn't have a backing tensorboard.
1845
+ ValueError:
1846
+ If both `experiment` and `tensorboard` are specified or if
1847
+ `enable_autolog` is True in `CustomJob.from_local_script` but
1848
+ `experiment` is not specified or the specified experiment
1849
+ doesn't have a backing tensorboard.
1849
1850
"""
1850
1851
if experiment and tensorboard :
1851
1852
raise ValueError ("'experiment' and 'tensorboard' cannot be set together." )
@@ -2535,8 +2536,11 @@ def _parse_configs(
2535
2536
A List of ModelDeploymentMonitoringObjectiveConfig objects.
2536
2537
2537
2538
Raises:
2538
- ValueError, when the model IDs given are invalid.
2539
- RuntimeError, when XAI is enabled on a model that doesn't have XAI parameters configured.
2539
+ ValueError:
2540
+ When the model IDs given are invalid.
2541
+ RuntimeError:
2542
+ When XAI is enabled on a model that doesn't have XAI parameters
2543
+ configured.
2540
2544
"""
2541
2545
all_models = []
2542
2546
xai_enabled = []
0 commit comments