Tim O'Farrell 6c121bde74
APP-159 Fix Docker container networking for agent server URLs (#11751)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-17 06:09:21 -07:00
..
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00

Utilities

Common utility functions and helpers for the OpenHands app server.

Overview

This module provides utility functions that are used across the app server for common operations like date handling, SQL operations, and dynamic imports.

Key Components

  • date_utils: Date and time utilities
  • sql_utils: SQL database operation helpers
  • import_utils: Dynamic module import utilities

Key Functions

  • utc_now(): Returns current UTC timestamp (replaces deprecated datetime.utcnow)
  • Database connection and query helpers
  • Dynamic module loading utilities
  • Safe import error handling