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

Method add_instance_template

shared/database/labels/label_schema.py:106–113  ·  view source on GitHub ↗
(self, session: Session, instance_template_id: int, member_created_id: int)

Source from the content-addressed store, hash-verified

104 return rel
105
106 def add_instance_template(self, session: Session, instance_template_id: int, member_created_id: int):
107 rel = LabelSchemaLink.new_instance_template_link(
108 session = session,
109 schema_id = self.id,
110 instance_template_id = instance_template_id,
111 member_created_id = member_created_id
112 )
113 return rel
114
115
116 @staticmethod

Callers 3

add_schemas_to_projectsFunction · 0.80
create_instance_templateFunction · 0.80

Calls 1

Tested by

no test coverage detected