automation-test-no-submodules-python-sdk
SDKs (no submodules) to test automation workflows.
Table of Contents
Requirements
Python >=3.7
Installation
pip install automation-test-no-submodules-python-sdk==1.0.6
Getting Started
from pprint import pprint
from automation_test_no_submodules import AutomationTestNoSubmodules, ApiException
automationtestnosubmodules = AutomationTestNoSubmodules()
try:
# Get a simple greeting
hello_response = automationtestnosubmodules.greetings.hello()
print(hello_response)
except ApiException as e:
print("Exception when calling GreetingsApi.hello: %s\n" % e)
pprint(e.body)
pprint(e.headers)
pprint(e.status)
pprint(e.reason)
pprint(e.round_trip_time)
Async
async support is available by prepending a to any method.
import asyncio
from pprint import pprint
from automation_test_no_submodules import AutomationTestNoSubmodules, ApiException
automationtestnosubmodules = AutomationTestNoSubmodules()
async def main():
try:
# Get a simple greeting
hello_response = await automationtestnosubmodules.greetings.ahello()
print(hello_response)
except ApiException as e:
print("Exception when calling GreetingsApi.hello: %s\n" % e)
pprint(e.body)
pprint(e.headers)
pprint(e.status)
pprint(e.reason)
pprint(e.round_trip_time)
asyncio.run(main())
Raw HTTP Response
To access raw HTTP response values, use the .raw namespace.
from pprint import pprint
from automation_test_no_submodules import AutomationTestNoSubmodules, ApiException
automationtestnosubmodules = AutomationTestNoSubmodules()
try:
# Get a simple greeting
hello_response = automationtestnosubmodules.greetings.raw.hello()
pprint(hello_response.body)
pprint(hello_response.body["message"])
pprint(hello_response.body["value"])
pprint(hello_response.headers)
pprint(hello_response.status)
pprint(hello_response.round_trip_time)
except ApiException as e:
print("Exception when calling GreetingsApi.hello: %s\n" % e)
pprint(e.body)
pprint(e.headers)
pprint(e.status)
pprint(e.reason)
pprint(e.round_trip_time)
Reference
automationtestnosubmodules.greetings.hello
Get a simple greeting
🛠️ Usage
hello_response = automationtestnosubmodules.greetings.hello()
🔄 Return
🌐 Endpoint
/hello get
Author
This Python package is automatically generated by Konfig
Release files for automation-test-no-submodules-python-sdk 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| automation_test_no_submodules_python_sdk-1.0.6.tar.gz | 48.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| automation_test_no_submodules_python_sdk-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 113.3 kB
Release files / automation_test_no_submodules_python_sdk-1.0.6.tar.gz
| Download URL | automation_test_no_submodules_python_sdk-1.0.6.tar.gz |
|---|---|
| Size | 48.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7859c95f93b8c9759334b557daba2711b5da8ded882ba66bbf315c5690bc11e
|
|
BLAKE2b-256 checksum How to use checksums |
58a4da3971db5fb6f1b5985796194ad1130976fda5d80d4440901b7e15291140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / automation_test_no_submodules_python_sdk-1.0.6-py3-none-any.whl
| Download URL | automation_test_no_submodules_python_sdk-1.0.6-py3-none-any.whl |
|---|---|
| Size | 64.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d69c57799053c29626df5683a58ba156973820b719fa645b1cbf66dfc249d6a9
|
|
BLAKE2b-256 checksum How to use checksums |
e00f94848a9c4e2a7f68b03bfceb91a85aae514e1e5be573a68617025a0a89d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|