async def get_multi_by_source_short_name(
        self, db: AsyncSession, *, source_short_name: str
    ) -> List[EntityDefinition]:
        """Get all entity definitions for a given source."""
        result = await db.execute(
            select(self.model).where(self.model.module_name == source_short_name)
        )
        entity_definitions = result.unique().scalars().all()
        return entity_definitions
Get all entity definitions for a given source.
backend/airweave/crud/crud_entity_definition.py