MCPcopy Index your code
hub / github.com/diffgram/diffgram / set_working_dir

Method set_working_dir

shared/database/user.py:456–465  ·  view source on GitHub ↗
(session,
                        user_id,
                        project_id,
                        working_dir_id)

Source from the content-addressed store, hash-verified

454 return userbase_project.working_dir
455
456 def set_working_dir(session,
457 user_id,
458 project_id,
459 working_dir_id):
460 userbase_project = session.query(UserbaseProject).filter(
461 UserbaseProject.user_id == user_id,
462 UserbaseProject.project_id == project_id).one()
463
464 userbase_project.working_dir_id = working_dir_id
465 session.add(userbase_project)
466
467 def __init__(self, project = None, userbase = None):
468 self.userbase = userbase

Callers 2

newMethod · 0.80
new_user_working_dirMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected