MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / __init__

Method __init__

code2flow/model.py:17–20  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

15 Constants can be accessed via .attribute or [key] and can be iterated over.
16 """
17 def __init__(self, *args, **kwargs):
18 d = {k: k for k in args}
19 d.update(dict(kwargs.items()))
20 super().__init__(d)
21
22 def __getattr__(self, item):
23 return self[item]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected