mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
10 lines
277 B
Python
10 lines
277 B
Python
from onboarders.parity import ParityOnboarder
|
|
|
|
|
|
class OnboarderFactory:
|
|
@staticmethod
|
|
def create_onboarder(onboarder_type):
|
|
if onboarder_type == "parity":
|
|
return ParityOnboarder
|
|
|
|
raise ValueError(f"Unknown onboarder type: {onboarder_type}")
|