Skip to content

Commit

Permalink
fix: Remove duplicated function from merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mbanting committed Feb 27, 2025
1 parent 3ab3762 commit c9d231d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/apps/schedule/crud/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ async def get_all_by_applet_id(self, applet_id: uuid.UUID) -> list[EventSchema]:
result = await self._execute(query)
return result.scalars().all()

async def get_all_by_applet_id(self, applet_id: uuid.UUID) -> list[EventSchema]:
"""Return all events linked to a specific applet"""
query: Query = select(EventSchema)
query = query.where(EventSchema.applet_id == applet_id, EventSchema.is_deleted.is_(False))

result = await self._execute(query)
return result.scalars().all()

async def get_public_by_applet_id(self, applet_id: uuid.UUID) -> list[EventSchema]:
"""Return event instance."""
query: Query = select(EventSchema)
Expand Down

0 comments on commit c9d231d

Please sign in to comment.