mlrun 1.8.0rc28__py3-none-any.whl → 1.8.0rc29__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mlrun might be problematic. Click here for more details.

mlrun/db/httpdb.py CHANGED
@@ -3896,7 +3896,7 @@ class HTTPRunDB(RunDBInterface):
3896
3896
  function_name: Optional[str] = None,
3897
3897
  function_tag: Optional[str] = None,
3898
3898
  endpoint_id: Optional[str] = None,
3899
- ) -> mlrun.common.schemas.ModelEndpoint:
3899
+ ) -> None:
3900
3900
  """
3901
3901
  Updates a model endpoint with the given attributes.
3902
3902
 
@@ -3906,7 +3906,6 @@ class HTTPRunDB(RunDBInterface):
3906
3906
  :param function_name: The name of the function
3907
3907
  :param function_tag: The tag of the function
3908
3908
  :param endpoint_id: The id of the endpoint
3909
- :return: The updated `ModelEndpoint` object.
3910
3909
  """
3911
3910
  attributes_keys = list(attributes.keys())
3912
3911
  attributes["name"] = name
@@ -3929,8 +3928,11 @@ class HTTPRunDB(RunDBInterface):
3929
3928
  },
3930
3929
  body=model_endpoint.json(),
3931
3930
  )
3932
-
3933
- return mlrun.common.schemas.ModelEndpoint(**response.json())
3931
+ logger.info(
3932
+ "Updating model endpoint done",
3933
+ model_endpoint_uid=response.json(),
3934
+ status_code=response.status_code,
3935
+ )
3934
3936
 
3935
3937
  @staticmethod
3936
3938
  def _check_model_endpoint_representation(
@@ -600,13 +600,15 @@ class RemoteRuntime(KubeResource):
600
600
  # this also means that the function object will be updated with the function status
601
601
  self._wait_for_function_deployment(db, verbose=verbose)
602
602
  # check if there are any background tasks related to creating model endpoints
603
- background_tasks = mlrun.common.schemas.BackgroundTaskList(
604
- **data.pop("background_tasks", {"background_tasks": []})
605
- ).background_tasks
606
- if background_tasks:
603
+ model_endpoints_creation_background_tasks = (
604
+ mlrun.common.schemas.BackgroundTaskList(
605
+ **data.pop("background_tasks", {"background_tasks": []})
606
+ ).background_tasks
607
+ )
608
+ if model_endpoints_creation_background_tasks:
607
609
  self._check_model_endpoint_task_state(
608
610
  db=db,
609
- background_task=background_tasks[0],
611
+ background_task=model_endpoints_creation_background_tasks[0],
610
612
  wait_for_completion=False,
611
613
  )
612
614
 
@@ -1,4 +1,4 @@
1
1
  {
2
- "git_commit": "f7d4248834e0690d0e02b88fe62c16f9b40378e0",
3
- "version": "1.8.0-rc28"
2
+ "git_commit": "5d215e85ee4856ed768d7c4f3726332ec600daf4",
3
+ "version": "1.8.0-rc29"
4
4
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mlrun
3
- Version: 1.8.0rc28
3
+ Version: 1.8.0rc29
4
4
  Summary: Tracking and config of machine learning runs
5
5
  Home-page: https://github.com/mlrun/mlrun
6
6
  Author: Yaron Haviv
@@ -110,7 +110,7 @@ mlrun/db/__init__.py,sha256=WqJ4x8lqJ7ZoKbhEyFqkYADd9P6E3citckx9e9ZLcIU,1163
110
110
  mlrun/db/auth_utils.py,sha256=hpg8D2r82oN0BWabuWN04BTNZ7jYMAF242YSUpK7LFM,5211
111
111
  mlrun/db/base.py,sha256=jVM_M5_K0EyOSEwxQokGTM6dKKsMcy5LnFGDtVpKkgc,30678
112
112
  mlrun/db/factory.py,sha256=yP2vVmveUE7LYTCHbS6lQIxP9rW--zdISWuPd_I3d_4,2111
113
- mlrun/db/httpdb.py,sha256=0nc1_xWzAH9FqE4jHcjY_q0Tk0dxhMh9pn4Tt59j3C0,231383
113
+ mlrun/db/httpdb.py,sha256=TGb-sQCC-UGbqbeX2k7kPQFTBzuUT4emBx6Zak24Ra4,231374
114
114
  mlrun/db/nopdb.py,sha256=dtyUqnleBN7i59xfgjMB4e-aGM_Oj6ONOIzMKxG3UlM,27113
115
115
  mlrun/feature_store/__init__.py,sha256=AVnY2AFUNc2dKxLLUMx2K3Wo1eGviv0brDcYlDnmtf4,1506
116
116
  mlrun/feature_store/api.py,sha256=qkojZpzqGAn3r9ww0ynBRKOs8ji8URaK4DSYD4SE-CE,50395
@@ -290,7 +290,7 @@ mlrun/runtimes/mpijob/abstract.py,sha256=JGMjcJ4dvpJbctF6psU9UvYyNCutMxTMgBQeTlz
290
290
  mlrun/runtimes/mpijob/v1.py,sha256=1XQZC7AIMGX_AQCbApcwpH8I7y39-v0v2O35MvxjXoo,3213
291
291
  mlrun/runtimes/nuclio/__init__.py,sha256=gx1kizzKv8pGT5TNloN1js1hdbxqDw3rM90sLVYVffY,794
292
292
  mlrun/runtimes/nuclio/api_gateway.py,sha256=vH9ClKVP4Mb24rvA67xPuAvAhX-gAv6vVtjVxyplhdc,26969
293
- mlrun/runtimes/nuclio/function.py,sha256=pGI8cjQgJQBB3k64cw9N2ruOxpOxt5d-INc5o5KeujI,53955
293
+ mlrun/runtimes/nuclio/function.py,sha256=lwUzQRVwsqGOq5XrkGCcoCSRryNGh7THZKuVv2nGtnY,54062
294
294
  mlrun/runtimes/nuclio/nuclio.py,sha256=sLK8KdGO1LbftlL3HqPZlFOFTAAuxJACZCVl1c0Ha6E,2942
295
295
  mlrun/runtimes/nuclio/serving.py,sha256=SfvRcujt4EYYWwpNSJgozGhbn85OOSmpIrQNSOJYPCs,32222
296
296
  mlrun/runtimes/nuclio/application/__init__.py,sha256=rRs5vasy_G9IyoTpYIjYDafGoL6ifFBKgBtsXn31Atw,614
@@ -338,11 +338,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
338
338
  mlrun/utils/notifications/notification/slack.py,sha256=eQvmctTh6wIG5xVOesLLV9S1-UUCu5UEQ9JIJOor3ts,7183
339
339
  mlrun/utils/notifications/notification/webhook.py,sha256=NeyIMSBojjjTJaUHmPbxMByp34GxYkl1-16NqzU27fU,4943
340
340
  mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
341
- mlrun/utils/version/version.json,sha256=rdVwuZ9Gch5VbQdWrzErP2OOwDQEQEeJyiZyowIjhys,89
341
+ mlrun/utils/version/version.json,sha256=Ji9mJURUAgizR3XVtuLztq59YxLSrO_4TjKs1IjyHOc,89
342
342
  mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
343
- mlrun-1.8.0rc28.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
344
- mlrun-1.8.0rc28.dist-info/METADATA,sha256=r-p8kgbxwLYd5JmaHRqYv8YYbIQEeg4JhwM63SrhR20,25989
345
- mlrun-1.8.0rc28.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
346
- mlrun-1.8.0rc28.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
347
- mlrun-1.8.0rc28.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
348
- mlrun-1.8.0rc28.dist-info/RECORD,,
343
+ mlrun-1.8.0rc29.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
344
+ mlrun-1.8.0rc29.dist-info/METADATA,sha256=llmy1QFHh3_MfsgBdZan5HUFF2A_pQnRjq7Wy3j0NrU,25989
345
+ mlrun-1.8.0rc29.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
346
+ mlrun-1.8.0rc29.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
347
+ mlrun-1.8.0rc29.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
348
+ mlrun-1.8.0rc29.dist-info/RECORD,,