ServiceX_DID_Finder_lib 2.0.2__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ServiceX_DID_Finder_lib
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: ServiceX DID Library Routines
5
5
  Author: Gordon Watts
6
6
  Author-email: gwatts@uw.edu
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ServiceX_DID_Finder_lib"
3
- version = "2.0.2"
3
+ version = "2.0.3"
4
4
  description = "ServiceX DID Library Routines"
5
5
  authors = ["Gordon Watts <gwatts@uw.edu>"]
6
6
 
@@ -51,7 +51,10 @@ class _accumulator:
51
51
  if self._hold_till_end:
52
52
  self._hold_till_end = False
53
53
  files = sorted(self._file_cache, key=lambda x: x["paths"])
54
- self.send_bulk(files[:count])
54
+ if count == -1:
55
+ self.send_bulk(files)
56
+ else:
57
+ self.send_bulk(files[:count])
55
58
 
56
59
  def send_bulk(self, file_list: List[Dict[str, Any]]):
57
60
  "does a bulk put of files"