Skip to main content

UMA Auth OpenAPI-generated Python Pydantic Models

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1
  • Generator version: 7.8.0
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements

Python >= 3.7

Installation & Usage

To install the library, simply run:

pip install uma-auth-api

When handling a request, you can do something like:

from uma_auth.models.pay_invoice_request import PayInvoiceRequest
from uma_auth.models.pay_invoice_response import PayInvoiceResponse

def handle_pay_invoice():
    try:
        request_data = PayInvoiceRequest.from_dict(request.get_json())
    except Exception as e:
        abort_with_error(400, f"Invalid request: {e}")

    invoice = request_data.invoice
    amount = request_data.amount

    # ... actually pay the invoice ...

    return PayInvoiceResponse(preimage=payment_result.preimage).to_dict()

Note that this library only contains request and response model types to help with type safety and encoding/decoding of requests and responses. If you want something more custom for a specific API framework, you can generate your own code using the OpenAPI Generator CLI. There are generators for the following server frameworks:

Metadata

Release files for uma-auth-api 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uma-auth-api 0.0.11
File Size Uploaded Provenance Actions
uma_auth_api-0.0.11.tar.gz 20.3 kB Without provenance Details for uma_auth_api-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uma-auth-api 0.0.11
File Interpreter ABI Platform Actions
uma_auth_api-0.0.11-py3-none-any.whl Python 3 none any Details for uma_auth_api-0.0.11-py3-none-any.whl

Total release size: 67.2 kB

Release files / uma_auth_api-0.0.11.tar.gz

Download URL uma_auth_api-0.0.11.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7acb7518aa3f701f5922c86124920706af736dc8bf2890bee461cca41877d568
BLAKE2b-256 checksum
How to use checksums
02894ba6aa868eb78f51bcf21e8a764268c0392b92077ecaabf40c9f4846b18d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.16

Release files / uma_auth_api-0.0.11-py3-none-any.whl

Download URL uma_auth_api-0.0.11-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
541bea53f158dd6d354ce3592ae267f853d2478eebccac77e90c717f169dbaf2
BLAKE2b-256 checksum
How to use checksums
d4e50da9e0f27f2921f11cca6674bb45be5d14f113fa33180387a836b1dd9d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.16

Security for uma-auth-api 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page