MCPcopy Create free account
hub / github.com/AutoForgeAI/autoforge / get_session

Function get_session

server/services/assistant_database.py:127–131  ·  view source on GitHub ↗

Get a new database session for a project.

(project_dir: Path)

Source from the content-addressed store, hash-verified

125
126
127def get_session(project_dir: Path):
128 """Get a new database session for a project."""
129 engine = get_engine(project_dir)
130 Session = sessionmaker(bind=engine)
131 return Session()
132
133
134# ============================================================================

Callers 6

create_conversationFunction · 0.70
get_conversationsFunction · 0.70
get_conversationFunction · 0.70
delete_conversationFunction · 0.70
add_messageFunction · 0.70
get_messagesFunction · 0.70

Calls 1

get_engineFunction · 0.85

Tested by

no test coverage detected