millipz / nc-de-deliverance-project

Project Repo for Deliverance Team 2024
3 stars 2 forks source link

Extraction Lambda latest_transaction function #20

Closed millipz closed 5 months ago

millipz commented 6 months ago
        Collect data from one database table() returns the most recent timestamp

        Args:
            table_data (list) : list of dictionaries

        Raises:
            KeyError: created_at/updated_at does not exist

        Returns:
            most_recent_timestamp (timestamp) : from list returns most recent timestamp from created_at/updated_at values