added firewall strategy pattern

This commit is contained in:
carnivuth
2026-01-27 17:41:41 +01:00
parent b7e26f1735
commit 95dfa53e18
3 changed files with 8 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ class FWType(ABC):
cls._registry[cls.__name__.lower()] = cls
@classmethod
def create(cls, fw_type: str, **kwargs) -> "FWType":
def create(cls, fw_type: str, **kwargs) -> 'FWType':
"""
Factory method to create instances of child classes.