We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 382eb04 commit 0853076Copy full SHA for 0853076
openapi/python.sh
@@ -63,7 +63,7 @@ sed -i "s/if not async/if not async_req/g" "${OUTPUT_DIR}/${PACKAGE_NAME}/api_cl
63
64
# workaround https://github.com/swagger-api/swagger-codegen/pull/8061 (thread pool only on demand)
65
# TODO: Remove this when above merges
66
-patch "${OUTPUT_DIR}/${PACKAGE_NAME}/api_client.py" "${SCRIPT_ROOT}/python-api_client.py.patch"
+patch "${OUTPUT_DIR}/${PACKAGE_NAME}/api_client.py" "${SCRIPT_ROOT}/python-api_client.py.patch" --no-backup-if-mismatch
67
68
find "${OUTPUT_DIR}/test" -type f -name \*.py -exec sed -i 's/\bclient/kubernetes.client/g' {} +
69
find "${OUTPUT_DIR}" -path "${OUTPUT_DIR}/base" -prune -o -type f -a -name \*.md -exec sed -i 's/\bclient/kubernetes.client/g' {} +
0 commit comments