def _process_module_classes(module, components: Dict[str, list[Type | Callable]]) -> None:
    """Process classes in a module and add them to the components dictionary.

    Args:
        module: The module to process
        components: Dictionary to add components to
    """
    # Scan for classes
    for _, cls in inspect.getmembers(module, inspect.isclass):
        if getattr(cls, "_is_source", False):
            components["sources"].append(cls)
        elif getattr(cls, "_is_destination", False):
            components["destinations"].append(cls)
        elif getattr(cls, "_is_embedding_model", False):
            components["embedding_models"].append(cls)
Process classes in a module and add them to the components dictionary.

    Args:
        module: The module to process
        components: Dictionary to add components to
    
backend/airweave/platform/db_sync.py