Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
baarkerlounger committed Feb 20, 2025
1 parent 3b95edf commit 7511281
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions datahub/company_activity/tasks/ingest_stova_attendees.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
def stova_attendee_identification_task() -> None:
"""Identifies the most recent file to be ingested and schedules a task to ingest it"""
logger.info('Stova attendee identification task started.')
identification_task = StovaAttendeeIndentificationTask(prefix=STOVA_ATTENDEE_PREFIX)
identification_task = StovaAttendeeIdentificationTask(prefix=STOVA_ATTENDEE_PREFIX)
identification_task.identify_new_objects(stova_attendee_ingestion_task)
logger.info('Stova attendee identification task finished.')

Expand All @@ -37,7 +37,7 @@ def stova_attendee_ingestion_task(object_key: str) -> None:
logger.info(f'Stova attendee ingestion task finished for file {object_key}.')


class StovaAttendeeIndentificationTask(BaseObjectIdentificationTask):
class StovaAttendeeIdentificationTask(BaseObjectIdentificationTask):
pass


Expand Down
4 changes: 2 additions & 2 deletions datahub/company_activity/tasks/ingest_stova_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def stova_event_identification_task() -> None:
"""Identifies the most recent file to be ingested and schedules a task to ingest it"""
logger.info('Stova event identification task started.')
identification_task = StovaEventIndentificationTask(prefix=STOVA_EVENT_PREFIX)
identification_task = StovaEventIdentificationTask(prefix=STOVA_EVENT_PREFIX)
identification_task.identify_new_objects(stova_event_ingestion_task)
logger.info('Stova event identification task finished.')

Expand All @@ -31,7 +31,7 @@ def stova_event_ingestion_task(object_key: str) -> None:
logger.info(f'Stova event ingestion task finished for file {object_key}.')


class StovaEventIndentificationTask(BaseObjectIdentificationTask):
class StovaEventIdentificationTask(BaseObjectIdentificationTask):
pass


Expand Down
4 changes: 2 additions & 2 deletions datahub/metadata/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

def postcode_data_identification_task() -> None:
logger.info('Postcode data identification task started...')
identification_task = PostcodeDataIndentificationTask(prefix=POSTCODE_DATA_PREFIX)
identification_task = PostcodeDataIdentificationTask(prefix=POSTCODE_DATA_PREFIX)
identification_task.identify_new_objects(postcode_data_ingestion_task)
logger.info('Postcode data identification task finished.')


class PostcodeDataIndentificationTask(BaseObjectIdentificationTask):
class PostcodeDataIdentificationTask(BaseObjectIdentificationTask):
"""Class to identify new postcode data objects and determine if they should be ingested."""


Expand Down

0 comments on commit 7511281

Please sign in to comment.