SourceRules

October 23, 2025 ยท View on GitHub

Defines which fields to include or exclude in the response for a search query

Properties

NameTypeDescriptionNotes
includesList[str]List of fields to include in the response[optional] [default to []]
excludesList[str]List of fields to exclude from the response[optional] [default to [""]]

Example

from manticoresearch.models.source_rules import SourceRules

# TODO update the JSON string below
json = "{}"
# create an instance of SourceRules from a JSON string
source_rules_instance = SourceRules.from_json(json)
# print the JSON string representation of the object
print(SourceRules.to_json())

# convert the object into a dict
source_rules_dict = source_rules_instance.to_dict()
# create an instance of SourceRules from a dict
source_rules_from_dict = SourceRules.from_dict(source_rules_dict)

[Back to Model list] [Back to API list] [Back to README]