MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / construct

Function construct

rat-sql-gap/seq2struct/utils/registry.py:31–36  ·  view source on GitHub ↗
(kind, config, unused_keys=(), **kwargs)

Source from the content-addressed store, hash-verified

29
30
31def construct(kind, config, unused_keys=(), **kwargs):
32 return instantiate(
33 lookup(kind, config),
34 config,
35 unused_keys + ('name',),
36 **kwargs)
37
38
39def instantiate(callable, config, unused_keys=(), **kwargs):

Callers

nothing calls this directly

Calls 2

instantiateFunction · 0.85
lookupFunction · 0.85

Tested by

no test coverage detected