You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BaseIterator checks the mlflow version with mlflow.__version__ < "2.2.1" (see code below). This check does not function as intented, since for the latest version (2.10.0) the check is true, as the string comparison "2.10.0" < "2.2.1" passes.
classBaseIterator():
""" Base class to iterate for 'search' methods that return PageList. """def__init__(self, search_method, max_results=None, filter=None):
self.search_method=search_methodself.filter=filterself.max_results=max_resultsself.idx=0self.paged_list=Noneself.kwargs= { "max_results": self.max_results } ifself.max_resultselse {}
def_call_iter(self):
ifmlflow.__version__<"2.2.1":
returnself.search_method(filter_string=self.filter) #7623 - https://mlflow.org/docs/2.1.1/python_api/mlflow.client.htmlelse:
returnself.search_method(filter_string=self.filter, **self.kwargs) # https://mlflow.org/docs/latest/python_api/mlflow.client.html
The text was updated successfully, but these errors were encountered:
The BaseIterator checks the mlflow version with
mlflow.__version__ < "2.2.1"
(see code below). This check does not function as intented, since for the latest version (2.10.0) the check is true, as the string comparison"2.10.0" < "2.2.1"
passes.The text was updated successfully, but these errors were encountered: