8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6,mlflow/tracking/client.py,MlflowClient,update_registered_model,#MlflowClient#Any#Any#Any#,357
Before Change
:param description: (Optional) New description.
:return: A single updated :py:class:`mlflow.entities.model_registry.RegisteredModel` object.
return self._get_registry_client().update_registered_model(name, new_name, description)
@experimental
def delete_registered_model(self, name):
After Change
:param description: (Optional) New description.
:return: A single updated :py:class:`mlflow.entities.model_registry.RegisteredModel` object.
if new_name is None and description is None:
raise MlflowException("Attempting to update registered model with no new field values.")
if new_name is not None and new_name.strip() == "":
raise MlflowException("The new name must not be an empty string.")
res = None
if new_name is not None:
_logger.warning(""new_name" argument in update_registered_model is deprecated, "
"please use renamed_registered_model instead.")
res = self._get_registry_client().rename_registered_model(name=name, new_name=new_name)
name = new_name
if description is not None:
res = self._get_registry_client().update_registered_model(name=name,
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: mlflow/mlflow
Commit Name: 8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6
Time: 2020-02-24
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: mlflow/tracking/client.py
Class Name: MlflowClient
Method Name: update_registered_model
Project Name: pavlin-policar/openTSNE
Commit Name: 561ec05d900a6cf6092c2b15aae069d81717e99a
Time: 2018-09-20
Author: pavlin.g.p@gmail.com
File Name: fastTSNE/tsne.py
Class Name: TSNE
Method Name: generate_initial_coordinates
Project Name: deepfakes/faceswap
Commit Name: 9265b64fd27b4f1f030e53fee9e9440af4cd9be8
Time: 2019-06-25
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/stats.py
Class Name: Session
Method Name: get_iterations_for_session
Project Name: apache/incubator-tvm
Commit Name: 2a2081e536f26b49506ef38fec820dc196bc6a2f
Time: 2020-12-07
Author: masahi129@gmail.com
File Name: python/tvm/relay/frontend/pytorch.py
Class Name: PyTorchOpConverter
Method Name: bincount
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 226ac881c2bd28468dacfe8838d0b9cd0373ccc0
Time: 2020-08-03
Author: ebube.chuba@ibm.com
File Name: art/estimators/embedding/keras.py
Class Name: KerasAdversarialEmbedding
Method Name: predict