Skip to content

Commit 10e49d7

Browse files
committed
♻️ add server version for product base types
1 parent 735de48 commit 10e49d7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ayon_api/server_api.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -916,11 +916,9 @@ def product_base_type_supported(self) -> bool:
916916
"""Product base types are available on server."""
917917
if self._product_base_type_supported is None:
918918
major, minor, patch, _, _ = self.server_version_tuple
919-
self._product_base_type_supported = False
920-
# TODO implement when server version of the support is known
921-
# self._product_base_type_supported = (
922-
# (major, minor, patch) >= (1, 12, 0)
923-
# )
919+
self._product_base_type_supported = (
920+
(major, minor, patch) >= (1, 13, 0)
921+
)
924922
return self._product_base_type_supported
925923

926924
def _get_user_info(self) -> Optional[dict[str, Any]]:

0 commit comments

Comments
 (0)