We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b3d1b commit 1ceafceCopy full SHA for 1ceafce
src/datapilot/core/knowledge/cli.py
@@ -51,10 +51,10 @@ def do_GET(self):
51
def handle_knowledge_base(self, public_id):
52
"""Fetch and return knowledge base data."""
53
url = f"{backend_url}/knowledge_bases/public/{public_id}"
54
-
+
55
# Validate URL scheme for security
56
parsed_url = urlparse(url)
57
- if parsed_url.scheme not in ('http', 'https'):
+ if parsed_url.scheme not in ("http", "https"):
58
self.send_response(400)
59
self.send_header("Content-Type", "application/json")
60
self.end_headers()
0 commit comments