openapi-httpx-client 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/PKG-INFO +7 -1
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/README.md +6 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/PKG-INFO +7 -1
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/setup.py +1 -1
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/SOURCES.txt +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/dependency_links.txt +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/requires.txt +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/top_level.txt +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapiclient/__init__.py +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapiclient/client.py +0 -0
- {openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openapi-httpx-client
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A Python client for OpenAPI specifications using httpx
|
|
5
5
|
Home-page: https://github.com/lloydzhou/openapiclient
|
|
6
6
|
Author: lloydzhou
|
|
@@ -36,6 +36,12 @@ async def main():
|
|
|
36
36
|
try:
|
|
37
37
|
# Initialize and get the dynamic client
|
|
38
38
|
client = await api.init()
|
|
39
|
+
print("client", client, dir(client))
|
|
40
|
+
|
|
41
|
+
print("client.operations", client.operations)
|
|
42
|
+
print("client.paths", client.paths)
|
|
43
|
+
print("client.functions", client.functions)
|
|
44
|
+
print("client.tools", client.tools) # get function call tools
|
|
39
45
|
|
|
40
46
|
# Call an operation using the generated method
|
|
41
47
|
response = await client.getPetById(petId=1)
|
|
@@ -21,6 +21,12 @@ async def main():
|
|
|
21
21
|
try:
|
|
22
22
|
# Initialize and get the dynamic client
|
|
23
23
|
client = await api.init()
|
|
24
|
+
print("client", client, dir(client))
|
|
25
|
+
|
|
26
|
+
print("client.operations", client.operations)
|
|
27
|
+
print("client.paths", client.paths)
|
|
28
|
+
print("client.functions", client.functions)
|
|
29
|
+
print("client.tools", client.tools) # get function call tools
|
|
24
30
|
|
|
25
31
|
# Call an operation using the generated method
|
|
26
32
|
response = await client.getPetById(petId=1)
|
{openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openapi-httpx-client
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A Python client for OpenAPI specifications using httpx
|
|
5
5
|
Home-page: https://github.com/lloydzhou/openapiclient
|
|
6
6
|
Author: lloydzhou
|
|
@@ -36,6 +36,12 @@ async def main():
|
|
|
36
36
|
try:
|
|
37
37
|
# Initialize and get the dynamic client
|
|
38
38
|
client = await api.init()
|
|
39
|
+
print("client", client, dir(client))
|
|
40
|
+
|
|
41
|
+
print("client.operations", client.operations)
|
|
42
|
+
print("client.paths", client.paths)
|
|
43
|
+
print("client.functions", client.functions)
|
|
44
|
+
print("client.tools", client.tools) # get function call tools
|
|
39
45
|
|
|
40
46
|
# Call an operation using the generated method
|
|
41
47
|
response = await client.getPetById(petId=1)
|
{openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{openapi-httpx-client-0.2.0 → openapi-httpx-client-0.2.1}/openapi_httpx_client.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|