Skip to content

Commit

Permalink
Merge branch 'develop' into zm/fix-6871
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max authored Oct 19, 2023
2 parents a2de5a9 + 9004b27 commit e8f71d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cvat-sdk/cvat_sdk/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,18 @@ class Config:
"""Directory in which to store cached server data"""


_VERSION_OBJ = pv.Version(VERSION)


class Client:
"""
Provides session management, implements authentication operations
and simplifies access to server APIs.
"""

SUPPORTED_SERVER_VERSIONS = (
pv.Version("2.7"),
pv.Version("2.8"),
pv.Version(f"{_VERSION_OBJ.epoch}!{_VERSION_OBJ.major}.{_VERSION_OBJ.minor}"),
pv.Version(f"{_VERSION_OBJ.epoch}!{_VERSION_OBJ.major}.{_VERSION_OBJ.minor+1}"),
)

def __init__(
Expand Down

0 comments on commit e8f71d3

Please sign in to comment.