File tree 1 file changed +4
-4
lines changed
openapi_python_client/templates
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ client = AuthenticatedClient(
65
65
66
66
Things to know:
67
67
1. Every path/method combo becomes a Python module with four functions:
68
- 1. `sync`: Blocking request that returns parsed data (if successful) or `None`
69
- 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
70
- 1. `asyncio`: Like `sync` but async instead of blocking
71
- 1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
68
+ 1. `sync`: Blocking request that returns parsed data (if successful) or `None`
69
+ 1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
70
+ 1. `asyncio`: Like `sync` but async instead of blocking
71
+ 1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
72
72
73
73
1. All path/query params, and bodies become method arguments.
74
74
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
You can’t perform that action at this time.
0 commit comments