Skip to content

Commit

Permalink
Fix counting for large API solutions in generated Python README (#8403)
Browse files Browse the repository at this point in the history
* Fix counting for large API solutions

Let 2 follow 1.

* Update Python samples with new readme
  • Loading branch information
languitar authored Jan 15, 2021
1 parent c4dbd2c commit cd2a0db
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Use specific imports for apis and models like:
- `from {{{packageName}}}.api.default_api import DefaultApi`
- `from {{{packageName}}}.model.pet import Pet`

Solution 1:
Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Use specific imports for apis and models like:
- `from petstore_api.api.default_api import DefaultApi`
- `from petstore_api.model.pet import Pet`

Solution 1:
Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Use specific imports for apis and models like:
- `from x_auth_id_alias.api.default_api import DefaultApi`
- `from x_auth_id_alias.model.pet import Pet`

Solution 1:
Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Use specific imports for apis and models like:
- `from dynamic_servers.api.default_api import DefaultApi`
- `from dynamic_servers.model.pet import Pet`

Solution 1:
Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
Expand Down
2 changes: 1 addition & 1 deletion samples/openapi3/client/petstore/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Use specific imports for apis and models like:
- `from petstore_api.api.default_api import DefaultApi`
- `from petstore_api.model.pet import Pet`

Solution 1:
Solution 2:
Before importing the package, adjust the maximum recursion limit as shown below:
```
import sys
Expand Down

0 comments on commit cd2a0db

Please sign in to comment.