From 98f4e4017bc01c4269ecb2c18c54dabb05c6622c Mon Sep 17 00:00:00 2001 From: hsm207 Date: Thu, 15 Feb 2024 07:46:15 +0000 Subject: [PATCH] add high precsion error severity code --- langchain_weaviate/foo.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/langchain_weaviate/foo.py b/langchain_weaviate/foo.py index ecf228a..59fba91 100755 --- a/langchain_weaviate/foo.py +++ b/langchain_weaviate/foo.py @@ -1,3 +1,6 @@ +import subprocess + + def area(r): # if DEBUG: # print("Computing area of %r" % r) @@ -29,3 +32,6 @@ def redirect(url): def load_from_config(key, config_file): # TODO: Implement loading from config logic pass + +# https://codeql.github.com/codeql-query-help/python/py-side-effect-in-assert/ +assert subprocess.call(['run-backup']) == 0