Skip to main content

Operation as a Service

Project description

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: ...

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

oaas-1.8.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

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