Skip to content

Commit

Permalink
Update python generator image
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg committed Dec 3, 2024
1 parent cc49470 commit 23b017f
Show file tree
Hide file tree
Showing 4 changed files with 705 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gen-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ language = sys.argv[1]
core_version = Version(sys.stdin.read())
if language.lower() == "python":
print("v4.3.1")
if core_version >= Version("3.70.dev"):
print("v7.6.0")
else:
print("v4.3.1")
elif language.lower() == "ruby":
print("v4.3.1")
elif language.lower() == "typescript":
Expand Down Expand Up @@ -100,7 +103,7 @@ FIX_TASK_ERROR_FILTER='(.components.schemas.TaskResponse|select(.)|.properties.e

if [ "$LANGUAGE" = "python" ]
then
cat "${API_SPEC}" | jq "." > patched-api.json
cat "${API_SPEC}" | jq "${FIX_TASK_CREATED_RESOURCES_FILTER}|${FIX_TASK_ERROR_FILTER}" > patched-api.json

$CONTAINER_EXEC run \
"${ULIMIT_COMMAND[@]}" \
Expand Down
Loading

0 comments on commit 23b017f

Please sign in to comment.