Skip to content

Commit

Permalink
docstring for archives.update_all
Browse files Browse the repository at this point in the history
  • Loading branch information
nikohansen committed Apr 23, 2022
1 parent ad640d6 commit 5ff3ff3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code-postprocessing/cocopp/archiving.py
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,12 @@ def class_(self, name):
return self._get(name, 1) or COCODataArchive

def update_all(self):
"""update archive definition files from their remote location.
The update is necessary to account for newly added data. This
method requires www connectivity with only a few KB of transmitted
data.
"""
# self.set_as_attributes_in(update=True)
for name in self.names:
name = name.replace('-', '_')
Expand Down

0 comments on commit 5ff3ff3

Please sign in to comment.