assemblyline-service-client 4.4.2.dev10__py3-none-any.whl → 4.5.0.dev3__py3-none-any.whl

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.

Potentially problematic release.


This version of assemblyline-service-client might be problematic. Click here for more details.

@@ -1 +1 @@
1
- 4.4.2.dev10
1
+ 4.5.0.dev3
@@ -489,12 +489,10 @@ class TaskHandler(ServerBase):
489
489
 
490
490
  super().stop()
491
491
 
492
- self.log.info("Closing named pipes...")
493
- if self.done_fifo is not None:
494
- try:
495
- self.done_fifo.close()
496
- except BrokenPipeError:
497
- pass
492
+ # We only want to close the tasking pipe to trigger the service to stop waiting.
493
+ # We need to wait on the service to finish the current task and close our done_fifo
494
+ # pipe so that it can be sent back to the system.
495
+ self.log.info("Closing task_fifo named pipes...")
498
496
  if self.task_fifo is not None:
499
497
  try:
500
498
  self.task_fifo.close()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assemblyline-service-client
3
- Version: 4.4.2.dev10
3
+ Version: 4.5.0.dev3
4
4
  Summary: Assemblyline 4 - Service client
5
5
  Home-page: https://github.com/CybercentreCanada/assemblyline-service-client/
6
6
  Author: CCCS Assemblyline development team
@@ -14,6 +14,9 @@ Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Programming Language :: Python :: 3.7
15
15
  Classifier: Programming Language :: Python :: 3.8
16
16
  Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
17
20
  Description-Content-Type: text/markdown
18
21
  License-File: LICENCE.md
19
22
  Requires-Dist: assemblyline
@@ -0,0 +1,8 @@
1
+ assemblyline_service_client/VERSION,sha256=5Z3ejXUNRe7QVPM-34MLhPTu-0olb7YvcPoX2FAPUkc,11
2
+ assemblyline_service_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ assemblyline_service_client/task_handler.py,sha256=Ej7VVUbzz3L_08Pag9zHmHXa1x2olbRaEH9pxSOdvzI,22606
4
+ assemblyline_service_client-4.5.0.dev3.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
5
+ assemblyline_service_client-4.5.0.dev3.dist-info/METADATA,sha256=7W37L3TKiFA4u2YoFwCr8jiYaWRrkh1bqvNPiJ4jxVs,1576
6
+ assemblyline_service_client-4.5.0.dev3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ assemblyline_service_client-4.5.0.dev3.dist-info/top_level.txt,sha256=clNWHvn8nw0kR15l5TASxWxIQvKGKe5Pso3kVPMiJv0,28
8
+ assemblyline_service_client-4.5.0.dev3.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- assemblyline_service_client/VERSION,sha256=Xx01NtX4hrwZ_eksax1ZcpXyuPqyZXQDaMneA5wlYX8,12
2
- assemblyline_service_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- assemblyline_service_client/task_handler.py,sha256=TUZJNeiiQHtGT8sNh8SsAw7hKYlUkWJL0Tzq8l-oUrk,22509
4
- assemblyline_service_client-4.4.2.dev10.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
5
- assemblyline_service_client-4.4.2.dev10.dist-info/METADATA,sha256=HmJB6N-cxpE1LPnnDufdBnsHBTh6Jj07TdIz54fVbzI,1424
6
- assemblyline_service_client-4.4.2.dev10.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- assemblyline_service_client-4.4.2.dev10.dist-info/top_level.txt,sha256=clNWHvn8nw0kR15l5TASxWxIQvKGKe5Pso3kVPMiJv0,28
8
- assemblyline_service_client-4.4.2.dev10.dist-info/RECORD,,