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

Class ScopeConfig

backend/python/pydevlake/pydevlake/model.py:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90class ScopeConfig(ToolTable, Model):
91 name: str = Field(default="default")
92 domain_types: list[DomainType] = Field(default=list(DomainType), alias="entities")
93 connection_id: Optional[int]
94
95 @validator('domain_types', pre=True, always=True)
96 def set_default_domain_types(cls, v):
97 if v is None:
98 return list(DomainType)
99 return v
100
101
102class RawModel(SQLModel):

Callers 1

ctxFunction · 0.90

Calls 2

FieldFunction · 0.90
listFunction · 0.50

Tested by 1

ctxFunction · 0.72