Skip to content

Commit

Permalink
remove unnecessary variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
prohde committed Aug 2, 2023
1 parent 4d29aa5 commit b2d4a34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions FedSDM/rdfmt/RDFMTManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,14 @@ def get_mts_from_owl(self, endpoint: DataSource, graph: str) -> List[dict]:
results.append(rn)

for t in mts:
mt = RDFMT(
self.update_graph(RDFMT(
rid=t,
name=mts[t]['name'],
sources=mts[t]['sources'],
subclass_of=mts[t]['subClassOf'],
properties=mts[t]['properties'],
desc=mts[t]['desc']
)
self.update_graph(mt.to_rdf())
).to_rdf())
return results

def update_graph(self, data: list) -> None:
Expand Down

0 comments on commit b2d4a34

Please sign in to comment.