We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1119fb commit 114a08fCopy full SHA for 114a08f
1 file changed
version.sh
@@ -11,6 +11,6 @@ setup_match="version = "
11
setup_ver="version = ${VERSION}"
12
sed -i -E "/$setup_match/s/.*/$setup_ver/" setup.cfg
13
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:"
+header_match=" def __init__\(self, api_key, platform=\"modernmt-python\", platform_version="
+header_ver=" def __init__\(self, api_key, platform=\"modernmt-python\", platform_version=\"${VERSION}\", api_client=None) -> None:"
16
sed -i -E "/$header_match/s/.*/$header_ver/" src/modernmt/modernmt.py
0 commit comments