mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-10 23:04:02 +00:00
* release v1.3.0 and re-add Makefile * Update Documentation & Code Style * make BaseKnowledgeGraph abstract to remove it from the JSON schema * Logging paths for JSON schema generation * Add debug command in autoforma.yml * Typo * Update Documentation & Code Style * Fix schema path in CI * Update Documentation & Code Style * Remove debug statement from autoformat.yml * Reintroduce compatibility between 1.3.0 and 1.2.1rc0 schema Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ZanSara <sarazanzo94@gmail.com>
14 lines
303 B
Python
14 lines
303 B
Python
import sys
|
|
import logging
|
|
from pathlib import Path
|
|
|
|
logging.basicConfig(level=logging.INFO)
|
|
|
|
|
|
sys.path.append(".")
|
|
from haystack.nodes._json_schema import update_json_schema
|
|
|
|
update_json_schema(
|
|
update_index=True, destination_path=Path(__file__).parent.parent.parent / "haystack" / "json-schemas"
|
|
)
|