Skip to content

Commit

Permalink
Automated rollback of changelist 621665575
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 623216900
  • Loading branch information
XinranTang authored and tfx-copybara committed Apr 9, 2024
1 parent 05db5cb commit 83b67df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ml_metadata/metadata_store/metadata_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(self, config, enable_upgrade_migration: bool = False):
schema and migrates all data if it connects to an old version backend.
It is ignored when using gRPC `proto.MetadataStoreClientConfig`.
"""
self._config = config
self._max_num_retries = 5
self._service_client_wrapper = None
if isinstance(config, proto.ConnectionConfig):
Expand Down Expand Up @@ -139,6 +140,7 @@ def __init__(self, config, enable_upgrade_migration: bool = False):
logging.log(logging.INFO, 'MetadataStore with gRPC connection initialized')
logging.log(logging.DEBUG, 'ConnectionConfig: %s', config)


def _get_channel(self, config: proto.MetadataStoreClientConfig):
"""Configures the channel, which could be secure or insecure.
Expand Down

0 comments on commit 83b67df

Please sign in to comment.