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

Method get

shared/database/tag/tag.py:36–44  ·  view source on GitHub ↗
(name: str,
            project_id: int,
            session)

Source from the content-addressed store, hash-verified

34
35 @staticmethod
36 def get(name: str,
37 project_id: int,
38 session):
39
40 tag = session.query(Tag).filter(
41 Tag.name == name,
42 Tag.project_id == project_id).first()
43
44 return tag
45
46 @staticmethod
47 def get_by_id(

Callers 7

attach_elementMethod · 0.45
serialize_for_exportMethod · 0.45
serializeMethod · 0.45
get_or_newMethod · 0.45
remove_appliedMethod · 0.45
add_to_junction_tableMethod · 0.45
add_to_datasetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected