Пример #1
0
    def close(self):
        """Close a connection gracefully.

        This will clean up any materialized certificates on the local file system of
        external environments such as AWS SageMaker.

        Usage is recommended but optional.
        """
        client.stop()
        self._feature_store_api = None
        engine.stop()
        self._connected = False
        print("Connection closed.")
Пример #2
0
 def close(self):
     client.stop()
     self._feature_store_api = None
     engine.stop()
     self._connected = False
     print("Connection closed.")