MCPcopy Create free account
hub / github.com/diffgram/diffgram / get_by_id

Method get_by_id

shared/database/source_control/working_dir.py:301–306  ·  view source on GitHub ↗
(
        session,
        directory_id)

Source from the content-addressed store, hash-verified

299
300 @staticmethod
301 def get_by_id(
302 session,
303 directory_id):
304
305 directory = session.query(WorkingDir).filter(WorkingDir.id == directory_id).first()
306 return directory
307
308 @staticmethod
309 def get_with_fallback(

Callers 1

listMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected