Skip to content

Commit

Permalink
Remove get_netsci_word from api_query file
Browse files Browse the repository at this point in the history
  • Loading branch information
pbong committed Oct 31, 2023
1 parent d140d12 commit 0dc14bb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/callbacks/home/api_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ def get_word_list_db(API_URL):
except:
return pd.DataFrame()

def get_netsci_word(API_URL, word):
try:
res = requests.get(f'{API_URL}/get_netsci_word/?word={word}&show_context=true')
word_db = res.json()

df = pd.DataFrame(word_db)
return df
except:
return pd.DataFrame()

def get_nlp_word(API_URL, word):
try:
res = requests.get(
Expand Down

0 comments on commit 0dc14bb

Please sign in to comment.