This package will convert the packaged actions.json to a dictionary. By convention, Actions can be Queries or Commands in a CQRS architecture.
Installation
pip install boundlessgeo-schema
Usage
>>> import boundlessgeo_schema as bs
>>> schema = bs.get_schema()
>>> import_command = schema['SPATIALIO_IMPORT']
>>> print(import_command)
'v1/SPATIALIO_IMPORT'
>>> events = bs.get_events()
>>> event = events['NO_LAYERS_FOUND']
>>> print(event)
'v1/NO_LAYERS_FOUND'
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file boundlessgeo-schema-0.18.3.tar.gz.
File metadata
- Download URL: boundlessgeo-schema-0.18.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f6bb1d09453833d2874582feb10dabe8a57bc4a160ff34d919ae7bb74035e27
|
|
| MD5 |
18d80f253fd31d62a3439add9352e1fc
|
|
| BLAKE2b-256 |
4bfe0a97b817524b52d9aee7f609f930388b9d1a05ddd7f310032c4376f7bd59
|