Commit e7334195 authored by zahrana's avatar zahrana

semantic_linking swagger part and integration fixed

parent 10acdfee
...@@ -9,20 +9,20 @@ import json ...@@ -9,20 +9,20 @@ import json
from db.entities import Raw_Dataset from db.entities import Raw_Dataset
from typing import List, Dict, Tuple from typing import List, Dict, Tuple
from db.repository import Repository from db.repository import Repository
from fetchingdata2 import fetch from fetchingdata2 import Fetch
exit(0)
repo = Repository() repo = Repository()
def run_generic_layering(): def run_generic_layering():
'''Runs the clustering for all layers found in the repository.''' '''Runs the clustering for all layers found in the repository.'''
raw_dataset = repo.get_raw_data() raw_datasets = repo.get_all_raw_data()
print(f"fetchingdata {raw_dataset.usecase_name}") for raw_dataset in raw_datasets:
fetch.fetch_info(raw_dataset) print(f"fetchingdata {raw_dataset.usecase_name}")
f = Fetch()
f.fetch_info(raw_dataset.to_serializable_dict())
......
...@@ -9,7 +9,7 @@ from db.repository import Repository ...@@ -9,7 +9,7 @@ from db.repository import Repository
start_time = time.time() start_time = time.time()
repo = Repository() repo = Repository()
class fetch: class Fetch:
def __init__(self): def __init__(self):
self.USER= [] self.USER= []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment