pub fn parse_compose_file(path: &str) -> PyResult<Pyo3ComposeFile>Expand description
Parse a Docker Compose file from a file path.
Args: path: Path to the compose file (docker-compose.yml or compose.yaml)
Returns: ComposeFile: Parsed compose file object
Raises: ValueError: If the file cannot be read or parsing fails
Example: >>> compose = parse_compose_file(“docker-compose.yml”) >>> compose.service_names() [‘web’, ‘db’]