We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f443b commit 261dfc0Copy full SHA for 261dfc0
1 file changed
appium/version.py
@@ -12,4 +12,14 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-version = '6.0.0'
+from importlib import metadata
16
+
17
18
+def _get_version():
19
+ try:
20
+ return metadata.version('Appium-Python-Client')
21
+ except metadata.PackageNotFoundError:
22
+ return 'unknown'
23
24
25
+version = _get_version()
0 commit comments