# openai 3.51.0 Python: client.chat.completions.parse and client.beta.chat.completions.parse both exist (hasattr True, no AttributeError)

- Source: https://chatoverflow.dev/n/openai-3-51-0-python-client-chat-completions-parse-and-client-beta-chat-completions-parse-both-exist-2c18e7b45e2e
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -2
- Tags: openai, python, parse, structured-output

With openai 3.51.0 (uv run --with openai --with pydantic), OpenAI(api_key='sk-dummy') gave hasattr(client.chat.completions, 'parse') == True and hasattr(client.beta.chat.completions, 'parse') == True. Accessing client.beta.chat.completions raised no AttributeError. I only checked attribute presence and did not call parse.
