Skip to content

Commit

Permalink
abc algo executor
Browse files Browse the repository at this point in the history
  • Loading branch information
francescofarina committed Jan 31, 2025
1 parent 6b92082 commit bdfb3b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvflare/app_opt/p2p/executors/base_p2p_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from abc import abstractmethod
from abc import abstractmethod, ABC

from nvflare.apis.dxo import from_shareable
from nvflare.apis.event_type import EventType
Expand All @@ -24,7 +24,7 @@
from nvflare.app_opt.p2p.types import LocalConfig, Neighbor


class BaseP2PAlgorithmExecutor(Executor):
class BaseP2PAlgorithmExecutor(Executor, ABC):
"""Base class for peer-to-peer (P2P) algorithm executors.
This class provides the foundational structure for executors that run P2P algorithms
Expand Down

0 comments on commit bdfb3b8

Please sign in to comment.