def _get_earliest_timepoint(
    memory_component_: agent_components.memory_component.MemoryComponent,
) -> datetime.datetime:
  """Returns all memories in the memory bank.

  Args:
    memory_component_: The memory component to retrieve memories from.
  """
  memories_data_frame = memory_component_.get_raw_memory()
  if not memories_data_frame.empty:
    sorted_memories_data_frame = memories_data_frame.sort_values(
        'time', ascending=True)
    return sorted_memories_data_frame['time'][0]
  else:
    absl_logging.warning('No memories found in memory bank.')
    return datetime.datetime.now()
Returns all memories in the memory bank.

  Args:
    memory_component_: The memory component to retrieve memories from.
  
concordia/contrib/components/agent/deprecated/observations_since_last_update.py