mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-22 14:43:07 +00:00
Package JSON schemas properly in Haystack (#2316)
* Restrain the files loaded by options.packages.find * Move json-schemas inside haystack * Change syntax in setup.cfg * Change again syntax in options.package_data * Specify more exactly which files to package Co-authored-by: Thomas Stadelmann <thomas.stadelmann@deepset.ai>
This commit is contained in:
parent
0ec458dba8
commit
65b3a2c7dd
@ -33,8 +33,8 @@ from haystack.errors import HaystackError, PipelineSchemaError
|
|||||||
from haystack.nodes.base import BaseComponent
|
from haystack.nodes.base import BaseComponent
|
||||||
|
|
||||||
|
|
||||||
JSON_SCHEMAS_PATH = Path(__file__).parent.parent.parent / "json-schemas"
|
JSON_SCHEMAS_PATH = Path(__file__).parent.parent.parent / "haystack" / "json-schemas"
|
||||||
SCHEMA_URL = "https://haystack.deepset.ai/json-schemas/"
|
SCHEMA_URL = "https://haystack.deepset.ai/haystack/json-schemas/"
|
||||||
|
|
||||||
# Allows accessory classes (like enums and helpers) to be registered as valid input for
|
# Allows accessory classes (like enums and helpers) to be registered as valid input for
|
||||||
# custom node's init parameters. For now we disable this feature, but flipping this variables
|
# custom node's init parameters. For now we disable this feature, but flipping this variables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user