diff --git a/pyproject.toml b/pyproject.toml index 73bcab80..bc7b807b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "3.1.7" +version = "3.1.9" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/structs/concurrent_workflow.py b/swarms/structs/concurrent_workflow.py index 00340ee0..e3f64c9a 100644 --- a/swarms/structs/concurrent_workflow.py +++ b/swarms/structs/concurrent_workflow.py @@ -2,12 +2,12 @@ import concurrent.futures from dataclasses import dataclass, field from typing import Dict, List, Optional -from swarms.structs.base import BaseStruct +from swarms.structs.base import BaseStructure from swarms.structs.task import Task @dataclass -class ConcurrentWorkflow(BaseStruct): +class ConcurrentWorkflow(BaseStructure): """ ConcurrentWorkflow class for running a set of tasks concurrently using N number of autonomous agents. diff --git a/swarms/structs/nonlinear_workflow.py b/swarms/structs/nonlinear_workflow.py index e1724d09..2a1be2d7 100644 --- a/swarms/structs/nonlinear_workflow.py +++ b/swarms/structs/nonlinear_workflow.py @@ -1,8 +1,8 @@ from swarms.structs.task import Task -from swarms.structs.base import BaseStruct +from swarms.structs.base import BaseStructure -class NonlinearWorkflow(BaseStruct): +class NonlinearWorkflow(BaseStructure): """ Represents a Directed Acyclic Graph (DAG) workflow. diff --git a/swarms/structs/recursive_workflow.py b/swarms/structs/recursive_workflow.py index 38487ec0..a9a27386 100644 --- a/swarms/structs/recursive_workflow.py +++ b/swarms/structs/recursive_workflow.py @@ -1,10 +1,10 @@ from typing import List -from swarms.structs.base import BaseStruct +from swarms.structs.base import BaseStructure from swarms.structs.task import Task -class RecursiveWorkflow(BaseStruct): +class RecursiveWorkflow(BaseStructure): """ RecursiveWorkflow class for running a task recursively until a stopping condition is met.