From 64d660926515c76546eb524482d43658a355f320 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 11 Sep 2023 08:32:41 -0400 Subject: [PATCH] cleanup --- example.py | 1 - swarms/utils/schema/__init__.py | 0 swarms/utils/schema/base.py | 0 swarms/utils/task.py | 12 ------------ 4 files changed, 13 deletions(-) delete mode 100644 swarms/utils/schema/__init__.py delete mode 100644 swarms/utils/schema/base.py delete mode 100644 swarms/utils/task.py diff --git a/example.py b/example.py index 5cce3234..81427a8f 100644 --- a/example.py +++ b/example.py @@ -1,6 +1,5 @@ from swarms import Worker - node = Worker( openai_api_key="", ai_name="Optimus Prime", diff --git a/swarms/utils/schema/__init__.py b/swarms/utils/schema/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/swarms/utils/schema/base.py b/swarms/utils/schema/base.py deleted file mode 100644 index e69de29b..00000000 diff --git a/swarms/utils/task.py b/swarms/utils/task.py deleted file mode 100644 index 512b30fa..00000000 --- a/swarms/utils/task.py +++ /dev/null @@ -1,12 +0,0 @@ -import uuid - - -class Task: - def __init__(self, objective, priority=0, schedule=None, dependencies=None): - self.id = uuid.uuid4() - self.objective = objective - self.priority = priority - self.schedule = schedule - self.dependencies = dependencies or [] - self.status = "pending" -