Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
lrafeei committed Dec 28, 2024
1 parent a61a943 commit 7aa0018
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/new_vectorstore_adder.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,13 @@ def main():
continue

if not instrumented_class or class_name not in instrumented_class:
# uninstrumented_classes.append(class_name)

# if uninstrumented_classes:
# for uninstrumented_class in uninstrumented_classes:
if class_name in vector_store_class_directory:
uninstrumented_directory = vector_store_class_directory[class_name]

# Add in newrelic/config.py if there is not an instrumented directory
# Otherwise, config already exists, so no need to duplicate it.
add_to_config(uninstrumented_directory, instrumented_class)

# Add in newrelic/hooks/mlmodel_langchain.py
add_to_hooks(class_name, uninstrumented_directory, instrumented_class)

Expand Down

0 comments on commit 7aa0018

Please sign in to comment.