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

Method parent_input

shared/database/input.py:192–195  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

190 )
191
192 def parent_input(self, session):
193 if not self.parent_input_id: return None
194
195 return session.query(Input).filter(Input.id == self.parent_input_id).first()
196
197 def child_list(self, session):
198 return session.query(Input).filter(Input.parent_input_id == self.id).all()

Callers 2

loadMethod · 0.80
__copy_frameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected