Actions
Bug #7226
closed[Crunch] crunch_scripts/crunchutil/vwd.py calls PySDK internal methods
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Crunch
Target version:
-
Story points:
0.5
Description
checkin() in vwd.py has this code (rewrapped a bit for readability):
collections[pdh] = arvados.collection.CollectionReader(
pdh,
api_client=outputcollection._my_api(),
keep_client=outputcollection._my_keep(),
num_retries=5)
It shouldn't sneak into outputcollection's private methods this way. The whole reason we follow the leading underscore convention is that we don't want to make API compatibility promises to Crunch scripts about them. We undermine ourselves if we ignore that guidance in our own Crunch scripts.
There's no reason this code shouldn't instantiate its own API and Keep clients, and pass them to both outputcollection and all these CollectionReaders.
Updated by Brett Smith over 10 years ago
- Description updated (diff)
- Category set to Crunch
- Story points set to 0.5
Actions