Bugfix: python Collection class sets _portable_data_hash in _populate_from_api_server
[arvados.git] / sdk / python / arvados / collection.py
index 098a11e1bb12141c9206edd492d1aa46aa4d0991..f26d3a3d27c0b221d269d3d4a1beb8775268f7e6 100644 (file)
@@ -1316,6 +1316,7 @@ class Collection(RichCollectionBase):
                 uuid=self._manifest_locator).execute(
                     num_retries=self.num_retries))
             self._manifest_text = self._api_response['manifest_text']
+            self._portable_data_hash = self._api_response['portable_data_hash']
             # If not overriden via kwargs, we should try to load the
             # replication_desired from the API server
             if self.replication_desired is None: