Skip to content

Commit 114a08f

Browse files
committed
Fix version update script
1 parent e1119fb commit 114a08f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ setup_match="version = "
1111
setup_ver="version = ${VERSION}"
1212
sed -i -E "/$setup_match/s/.*/$setup_ver/" setup.cfg
1313

14-
header_match=" def __init__\(self, license_key, platform=\"modernmt-python\", platform_version="
15-
header_ver=" def __init__\(self, license_key, platform=\"modernmt-python\", platform_version=\"${VERSION}\"\) -> None:"
14+
header_match=" def __init__\(self, api_key, platform=\"modernmt-python\", platform_version="
15+
header_ver=" def __init__\(self, api_key, platform=\"modernmt-python\", platform_version=\"${VERSION}\", api_client=None) -> None:"
1616
sed -i -E "/$header_match/s/.*/$header_ver/" src/modernmt/modernmt.py

0 commit comments

Comments
 (0)