Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test failure
  • Loading branch information
wing328 committed Sep 23, 2020
commit dd246daf8888b1430b6ed83ad15d1190a8b6192b
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class PythonClientOptionsProvider implements OptionsProvider {
public static final String PACKAGE_VERSION_VALUE = "1.0.0-SNAPSHOT";
public static final String PACKAGE_URL_VALUE = "";
public static final String USE_NOSE_VALUE = "false";
public static final String SET_RECURSION_LIMIT = "1200";

@Override
public String getLanguage() {
Expand All @@ -47,6 +48,7 @@ public Map<String, String> createOptions() {
.put(CodegenConstants.SOURCECODEONLY_GENERATION, "false")
.put(CodegenConstants.LIBRARY, "urllib3")
.put(PythonClientCodegen.USE_NOSE, USE_NOSE_VALUE)
.put(PythonClientCodegen.SET_RECURSION_LIMIT, SET_RECURSION_LIMIT)
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
from petstore_api.exceptions import ApiTypeError
from petstore_api.exceptions import ApiValueError
from petstore_api.exceptions import ApiKeyError
from petstore_api.exceptions import ApiException
from petstore_api.exceptions import ApiException
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
from x_auth_id_alias.exceptions import ApiTypeError
from x_auth_id_alias.exceptions import ApiValueError
from x_auth_id_alias.exceptions import ApiKeyError
from x_auth_id_alias.exceptions import ApiException
from x_auth_id_alias.exceptions import ApiException
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
from dynamic_servers.exceptions import ApiTypeError
from dynamic_servers.exceptions import ApiValueError
from dynamic_servers.exceptions import ApiKeyError
from dynamic_servers.exceptions import ApiException
from dynamic_servers.exceptions import ApiException
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
from petstore_api.exceptions import ApiTypeError
from petstore_api.exceptions import ApiValueError
from petstore_api.exceptions import ApiKeyError
from petstore_api.exceptions import ApiException
from petstore_api.exceptions import ApiException