mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 04:27:44 +00:00
feat: loader prompt & simplify YAML loading and update data loader specifications (#736)
* refactor: Simplify YAML loading and update data loader specifications * docs: Add comment explaining FunctionLoader usage in tpl.py * lint * lint
This commit is contained in:
@@ -24,6 +24,12 @@ class TestAgentInfra(unittest.TestCase):
|
||||
|
||||
print(code)
|
||||
|
||||
def test_include(self):
|
||||
parent = T("components.coder.data_science.raw_data_loader.prompts:spec.user.data_loader").r(latest_spec=None)
|
||||
child = T("scenarios.data_science.share:component_spec.DataLoadSpec").r()
|
||||
assert child in parent
|
||||
print(parent)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user