MCPcopy Create free account
hub / github.com/apache/devlake / domain_id

Method domain_id

backend/python/pydevlake/pydevlake/model.py:146–151  ·  view source on GitHub ↗

Generate an identifier for domain entities originates from self.

(self)

Source from the content-addressed store, hash-verified

144 connection_id: Optional[int] = Field(primary_key=True, auto_increment=False)
145
146 def domain_id(self):
147 """
148 Generate an identifier for domain entities
149 originates from self.
150 """
151 return domain_id(type(self), self.connection_id, *self.primary_keys())
152
153 def primary_keys(self) -> Iterable[object]:
154 model_type = type(self)

Callers 13

_saveMethod · 0.80
make_pipelineMethod · 0.80
extra_tasksMethod · 0.80
convertMethod · 0.80
collectMethod · 0.80
convertMethod · 0.80
convertMethod · 0.80
collectMethod · 0.80
test_builds_streamFunction · 0.80
test_jobs_streamFunction · 0.80

Calls 2

primary_keysMethod · 0.95
domain_idFunction · 0.85