No project description provided
Project description
hannah
hannah
is a async swagger http client.
installation
pip install hannah
example
from hannah.http.session import HTTPSession
from hannah.models import SwaggerService
session = HTTPSession(f'pet-store')
service = SwaggerService.from_url('pet-store', 'https://petstore.swagger.io',
session, swagger_path='/v2/swagger.json')}
response = await service.getPetById(petId=1)
print(response)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hannah-0.0.10.tar.gz
(4.6 kB
view hashes)