Skip to main content

automation-test-with-submodule-python-sdk

SDKs (no submodules) to test automation workflows.

PyPI README.md

Table of Contents

Requirements

Python >=3.7

Installation

pip install automation-test-with-submodule-python-sdk==1.0.11

Getting Started

from pprint import pprint
from automation_test_with_submodule import AutomationTestWithSubmodule, ApiException

automationtestwithsubmodule = AutomationTestWithSubmodule()

try:
    # Get a simple greeting!!!
    hello_response = automationtestwithsubmodule.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_with_submodule import AutomationTestWithSubmodule, ApiException

automationtestwithsubmodule = AutomationTestWithSubmodule()


async def main():
    try:
        # Get a simple greeting!!!
        hello_response = await automationtestwithsubmodule.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_with_submodule import AutomationTestWithSubmodule, ApiException

automationtestwithsubmodule = AutomationTestWithSubmodule()

try:
    # Get a simple greeting!!!
    hello_response = automationtestwithsubmodule.greetings.raw.hello()
    pprint(hello_response.body)
    pprint(hello_response.body["message"])
    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

automationtestwithsubmodule.greetings.hello

Get a simple greeting!!!

🛠️ Usage

hello_response = automationtestwithsubmodule.greetings.hello()

🔄 Return

HelloResponse

🌐 Endpoint

/hello get

🔙 Back to Table of Contents


Author

This Python package is automatically generated by Konfig

Release files for automation-test-with-submodule-python-sdk 1.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 automation-test-with-submodule-python-sdk 1.0.11
File Size Uploaded
automation_test_with_submodule_python_sdk-1.0.11.tar.gz 48.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for automation-test-with-submodule-python-sdk 1.0.11
File Interpreter ABI Platform
automation_test_with_submodule_python_sdk-1.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 113.3 kB

Release files / automation_test_with_submodule_python_sdk-1.0.11.tar.gz

Download URL automation_test_with_submodule_python_sdk-1.0.11.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8663db34fd643bffb1a3a1bacd55dbc51338b6a7ad913004e38e355dac090136
BLAKE2b-256 checksum
How to use checksums
4c778b32d7d102ab53650648fb037b1fc38fb2df9e60d193ef7b04f111ea0729
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_with_submodule_python_sdk-1.0.11-py3-none-any.whl

Download URL automation_test_with_submodule_python_sdk-1.0.11-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bff0c0d0ba1b50fd97c120302977185acc5760d972e71f4906bd893aa8ed95a2
BLAKE2b-256 checksum
How to use checksums
b1c122322437086e51ce81d2b824bb3e1392bf1d6d651e9ac730b2d68b2c057e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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