Skip to content

Incorrect import path in SQLAlchemySession documentation #2073

@Shahzain-Ali

Description

@Shahzain-Ali

Description

The documentation currently shows an incorrect import path for SQLAlchemySession.

Current (incorrect) code

from agents.extensions.memory import SQLAlchemySession

Correct code

from agents.extensions.memory.sqlalchemy_session import SQLAlchemySession

Found on the official docs page:
(https://openai.github.io/openai-agents-python/sessions/sqlalchemy_session)

This small fix will help avoid ImportError for users following the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions