Skip to content

Commit bf96159

Browse files
authored
Merge pull request #57 from kurusugawa-computer/fix/generate.sh
update generate.sh: sedコマンドの追加
2 parents 2a7777d + 41804b4 commit bf96159

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generate/generate.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ cat partial-header/dataclass/common.py partial-header/dataclass/webhook.py \
199199

200200

201201
sed -e "s/__DictStrKeyAnyValue__/Dict[str,Any]/g" ../annofabapi/dataclass/*.py --in-place
202-
202+
# dict(str, int) -> Dict[str, int]
203+
sed -E -e "s/dict\((.*)\)/Dict\[\1\]/g" ../annofabapi/dataclass/*.py --in-place
203204

204205

205206
rm -Rf out/openapi_client

0 commit comments

Comments
 (0)