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.31.tar.gz (15.1 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.31-py2.py3-none-any.whl (25.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: oarepo_global_search-1.0.31.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for oarepo_global_search-1.0.31.tar.gz
Algorithm Hash digest
SHA256 46a30783f5d56cc276a8789989afc9abd3ba3df62733fb867677340cea9c671d
MD5 eb992cf4df637de100b8cd6aaa10d38c
BLAKE2b-256 1b1b8f509e512c2efdddc811eb726cc85e253f2cf641d76700c5082fb1ad04ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_global_search-1.0.31-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70e04016f3929bf1ed54207ca09d2ff39713a10c811b189b2d37894f6279531d
MD5 423be276cba89531bec18c4ed2e99747
BLAKE2b-256 cf1970cd253ee71d084f4fa5d5c9eb3cabe1fa0e77a8478bd761e0d5b913e638

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