Update the settings according to the keyword arguments. Args: kwargs: The keyword arguments to set corresponding fields.
(self, **kwargs)
| 261 | self._system_config["lineage_pinning_enabled"] = True |
| 262 | |
| 263 | def update(self, **kwargs): |
| 264 | """Update the settings according to the keyword arguments. |
| 265 | |
| 266 | Args: |
| 267 | kwargs: The keyword arguments to set corresponding fields. |
| 268 | """ |
| 269 | for arg in kwargs: |
| 270 | if hasattr(self, arg): |
| 271 | setattr(self, arg, kwargs[arg]) |
| 272 | else: |
| 273 | raise ValueError(f"Invalid RayParams parameter in update: {arg}") |
| 274 | |
| 275 | self._check_usage() |
| 276 | |
| 277 | def update_if_absent(self, **kwargs): |
| 278 | """Update the settings when the target fields are None. |