Skip to content

Latest commit

 

History

History
executable file
·
31 lines (22 loc) · 1.08 KB

File metadata and controls

executable file
·
31 lines (22 loc) · 1.08 KB

SourceRules

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

Properties

Name Type Description Notes
includes List[str] List of fields to include in the response [optional] [default to []]
excludes List[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]