Operation As A Service API
Installation
pip install oaas
Usage
from typing import Any, List
import oaas
@oaas.client("users-get")
def get_users(group: str) -> List[Any]: ...
@oaas.client("datastore")
class DataStore:
def put_item(self, key: str, value: Any) -> None: ...
def get_item(self, key: str) -> None: ...
def remove_item(self, key: str) -> None: ...
@oaas.service("users-get")
def get_user_list(group: str) -> List[Any]: ...
@oaas.service("datastore")
class DataStoreService:
def put_item(self, key: str, value: Any) -> None: ...
def get_item(self, key: str) -> None: ...
def remove_item(self, key: str) -> None: ...
@oaas.service("intercept")
def get_user_intercept(group: str) -> List[Any]: ...
@oaas.service("datastore")
class DataStoreIntercept:
def put_item(self, key: str, value: Any) -> None: ...
def get_item(self, key: str) -> None: ...
def remove_item(self, key: str) -> None: ...
Metadata
Release files for oaas 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oaas-1.8.0.tar.gz | 5.0 kB | Details |
Release files / oaas-1.8.0.tar.gz
| Download URL | oaas-1.8.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b517c50b5abc0931764ece979df41ed902fd21165a0a8d8de438d8c47d9cd8fd
|
|
BLAKE2b-256 checksum How to use checksums |
fa07d353793988f8491ffab947145324558178a66fd7ea125dab602e8b449e37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|