Skip to content

Commit

Permalink
Merge pull request #15 from shashank-boyapally/fmatch
Browse files Browse the repository at this point in the history
changed ES_URL to function argument
  • Loading branch information
jtaleric authored Jan 24, 2024
2 parents 00f64f3 + 2276c88 commit c08a0ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fmatch/matcher.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
""" metadata matcher
"""
#pylint: disable = invalid-name
import os
import sys
import logging
Expand All @@ -11,15 +12,15 @@
import pandas as pd


ES_URL = os.getenv("ES_SERVER")



class Matcher:
""" Matcher
"""


def __init__(self, index="perf_scale_ci", level=logging.INFO):
def __init__(self, index="perf_scale_ci", level=logging.INFO, ES_URL=os.getenv("ES_SERVER")):
self.index = index
self.es_url = ES_URL
self.search_size = 10000
Expand Down

0 comments on commit c08a0ce

Please sign in to comment.