Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Point72_csp-gateway /csp_gateway /utils /picklable_queue.py
| from queue import Queue | |
| class PickleableQueue(Queue): | |
| """ | |
| An extension of the base Queue to allow it to be pickled | |
| NOTE: Pickled queues will not retain the contents of their queues | |
| """ | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(*args, **kwargs) | |
| def __getstate__(self): | |
| return {} | |
| def __setstate__(self, state): | |
| self.__dict__.update(Queue().__dict__) | |
Xet Storage Details
- Size:
- 418 Bytes
- Xet hash:
- eb055d62f114f0494cf6efc4f52d5827b6efa75c217dfa4585205b1e29891a2e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.