Skip to main content

"A model builder plugin for global search"

Project description

Global search plugin

Usage

To use the library you need to define the following paths in the config:

GLOBAL_SEARCH_MODELS = [{"model_service": "documents.services.records.service.DocumentsService",
                         "service_config": "documents.services.records.config.DocumentsServiceConfig",
                         "ui_resource_config": "ui.documents.DocumentsResourceConfig",
                         "api_resource_config": "documents.resources.records.config.DocumentsResourceConfig",
                         }]

for example:

GLOBAL_SEARCH_MODELS = [{"model_service": "path_to_service_class",
                         "service_config": "path_to_service_config",
                         "ui_resource_config": "path_to_ui_resource_config",
                         "api_resource_config": "path_to_api_resource_config",
                         }]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oarepo_global_search-1.0.28.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oarepo_global_search-1.0.28-py2.py3-none-any.whl (24.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file oarepo_global_search-1.0.28.tar.gz.

File metadata

  • Download URL: oarepo_global_search-1.0.28.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for oarepo_global_search-1.0.28.tar.gz
Algorithm Hash digest
SHA256 3f99e3bb9b5566f5e9f68ffd4661d5e0884eb7a6524a5d6b67ed9a321aa488e9
MD5 395b06681782b6c7c666807b9c45a0eb
BLAKE2b-256 fdb0bcf7a906951b9a7e4bb4403490e771ab84bab600d759ccc18ad29bd316f8

See more details on using hashes here.

File details

Details for the file oarepo_global_search-1.0.28-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for oarepo_global_search-1.0.28-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bb9244c05bf7fb7b8a0eec9c32435ec8358524e90d67337cd8e629bf91ffe9ed
MD5 92b6c90d4c9e896540cd064bd94bb43c
BLAKE2b-256 42d9c054b055d35edd8118c99ffbe0275098a35e81757c4b7e8844385a3f472a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page