From 29f7dab069675a971c59b0a236546cf79537df6c Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Thu, 29 Oct 2020 16:03:52 -0400 Subject: [PATCH] Add todo for queue iteration --- api/ECNQueue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/ECNQueue.py b/api/ECNQueue.py index cea3cc4..b1fba76 100644 --- a/api/ECNQueue.py +++ b/api/ECNQueue.py @@ -1143,6 +1143,7 @@ def toJson(self) -> dict: def __repr__(self) -> str: return self.queue + str(self.number) +# TODO: Make Queue iterable using __iter__. See: https://thispointer.com/python-how-to-make-a-class-iterable-create-iterator-class-for-it/ class Queue: """A collection of items.