Skip to content

Commit 4cfec7e

Browse files
committed
feat: improve naas integration
1 parent 378cff0 commit 4cfec7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/integrations/NaasIntegration.py

+3
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def create_ontology(
265265
source: str,
266266
level: str,
267267
description: str = None,
268+
download_url: str = None,
268269
logo_url: str = None,
269270
is_public: bool = False
270271
) -> Dict:
@@ -276,6 +277,7 @@ def create_ontology(
276277
source (str): Ontology source/content
277278
level (str): Level of the ontology - one of: USE_CASE, DOMAIN, MID, TOP
278279
description (str, optional): Description of the ontology
280+
download_url (str, optional): Download URL for the ontology
279281
logo_url (str, optional): Logo URL for the ontology
280282
is_public (bool, optional): Whether the ontology is public
281283
"""
@@ -285,6 +287,7 @@ def create_ontology(
285287
"workspace_id": workspace_id,
286288
"level": level,
287289
"description": description,
290+
"download_url": download_url,
288291
"logo_url": logo_url,
289292
"is_public": is_public
290293
}}

0 commit comments

Comments
 (0)