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

Class Context

backend/python/pydevlake/pydevlake/context.py:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class Context:
23 def __init__(self,
24 engine: Engine,
25 connection: Connection,
26 scope: ToolScope,
27 scope_config: ScopeConfig,
28 options: dict = None):
29 self.engine = engine
30 self.connection = connection
31 self.scope = scope
32 self.scope_config = scope_config
33 self.options = options or {}
34 self._engine = None
35
36 @property
37 def incremental(self) -> bool:
38 return self.options.get('incremental') is True

Callers 3

_mk_contextMethod · 0.90
make_contextFunction · 0.90
ctxFunction · 0.90

Calls

no outgoing calls

Tested by 2

make_contextFunction · 0.72
ctxFunction · 0.72