mlrun 1.10.0rc35__tar.gz → 1.10.0rc37__tar.gz
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-1.10.0rc35/mlrun.egg-info → mlrun-1.10.0rc37}/PKG-INFO +1 -1
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/hub.py +1 -1
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/config.py +1 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/base.py +3 -1
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/httpdb.py +10 -3
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/nopdb.py +3 -1
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/hub/module.py +19 -4
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model.py +2 -2
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/api.py +17 -2
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/base.py +85 -47
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/projects/project.py +10 -3
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/run.py +1 -1
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/application/application.py +25 -11
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/function.py +0 -5
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/serving.py +7 -3
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/secrets.py +54 -13
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/server.py +10 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/system_steps.py +7 -9
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/helpers.py +42 -1
- mlrun-1.10.0rc37/mlrun/utils/version/version.json +4 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37/mlrun.egg-info}/PKG-INFO +1 -1
- mlrun-1.10.0rc35/mlrun/utils/version/version.json +0 -4
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/LICENSE +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/MANIFEST.in +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/Makefile +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/README.md +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/dependencies.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/dev-requirements.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/dockerfiles/mlrun-api/requirements.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/archive.zip +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/function.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/infile.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/load-project.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_basics.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_dask.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_db.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_export_import.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_jobs.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_sparkk8s.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/mlrun_vault.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/model.bst +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/new-project.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/nulltst.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/params.csv +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/remote-spark.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/secrets.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/spark-function.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/training.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/v2_model_server.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/examples/xgb_serving.ipynb +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/extras-requirements.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/__main__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/alerts/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/alerts/alert.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/dataset.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/document.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/helpers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/llm_prompt.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/manager.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/model.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/artifacts/plots.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/constants.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/db/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/db/dialects.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/artifact.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/feature_set.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/function.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/model_endpoint.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/pipeline.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/project.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/formatters/run.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/helpers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/model_monitoring/helpers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/runtimes/constants.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/alert.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/api_gateway.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/artifact.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/auth.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/background_task.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/client_spec.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/clusterization_spec.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/common.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/constants.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/datastore_profile.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/events.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/feature_store.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/frontend_spec.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/function.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/http.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/k8s.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/memory_reports.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/model_monitoring/constants.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/model_monitoring/functions.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/model_monitoring/grafana.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/model_monitoring/model_endpoints.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/notification.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/object.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/pagination.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/partition.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/pipeline.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/project.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/regex.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/runs.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/runtime_resource.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/schedule.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/secret.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/serving.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/tag.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/schemas/workflow.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/secrets.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/common/types.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/data_types/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/data_types/data_types.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/data_types/infer.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/data_types/spark.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/data_types/to_pandas.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/alibaba_oss.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/azure_blob.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/datastore.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/datastore_profile.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/dbfs_store.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/filestore.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/google_cloud_storage.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/hdfs.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/inmem.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/model_provider/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/model_provider/huggingface_provider.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/model_provider/mock_model_provider.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/model_provider/model_provider.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/model_provider/openai_provider.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/redis.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/remote_client.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/s3.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/snowflake_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/sources.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/spark_udf.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/spark_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/store_resources.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/storeytargets.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/targets.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/v3io.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/vectorstore.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/wasbfs/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/datastore/wasbfs/fs.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/auth_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/db/factory.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/errors.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/execution.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/api.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/common.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/feature_set.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/feature_vector.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/feature_vector_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/ingestion.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/dask_merger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/job.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/local_merger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/spark_merger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/retrieval/storey_merger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/feature_store/steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/features.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/artifacts_library.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/producer.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_common/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/loggers/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/loggers/logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_dl_common/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/artifacts_library.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/loggers/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/loggers/logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/pkl_model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/dataset_plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/producer.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/_ml_common/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/auto_mlrun/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/auto_mlrun/auto_mlrun.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/huggingface/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/huggingface/model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/callbacks/callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/lgbm/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/onnx/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/onnx/dataset.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/onnx/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/onnx/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/onnx/model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/parallel_coordinates.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks/callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/callbacks_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/pytorch/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/estimator.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/metric.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/metrics_library.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/sklearn/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/callbacks/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/callbacks/logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/model_server.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/tf_keras/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/xgboost/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/xgboost/mlrun_interface.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/xgboost/model_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/frameworks/xgboost/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/hub/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/k8s_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/client.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/factory.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/local.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/launcher/remote.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/lists.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/_application_steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/context.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/evidently/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/evidently/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/histogram_data_drift.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/applications/results.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/controller.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/_schedules.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/_stats.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/helpers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/schemas.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/stream_graph_steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connection.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/tdengine_connector.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/tdengine/writer_graph_steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/v3io/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/v3io/stream_graph_steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/db/tsdb/v3io/v3io_connector.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/features_drift_table.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/helpers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/metrics/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/metrics/histogram_distance.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/stream_processing.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/model_monitoring/writer.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/context_handler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/errors.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packager.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers/default_packager.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers/numpy_packagers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers/pandas_packagers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers/python_standard_library_packagers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/packagers_manager.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/_archiver.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/_formatter.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/_pickler.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/_supported_format.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/log_hint_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/package/utils/type_hint_utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/platforms/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/platforms/iguazio.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/projects/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/projects/operations.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/projects/pipelines.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/render.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/daskjob.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/databricks_job/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/databricks_job/databricks_cancel_task.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/databricks_job/databricks_runtime.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/databricks_job/databricks_wrapper.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/funcdoc.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/function_reference.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/generators.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/kubejob.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/local.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/mounts.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/mpijob/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/mpijob/abstract.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/mpijob/v1.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/api_gateway.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/application/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/application/reverse_proxy.go +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/nuclio/nuclio.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/pod.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/remotesparkjob.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/sparkjob/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/sparkjob/spark3job.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/runtimes/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/merger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/remote.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/routers.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/serving_wrapper.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/states.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/steps.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/utils.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/v1_serving.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/serving/v2_serving.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/track/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/track/tracker.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/track/tracker_manager.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/track/trackers/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/track/trackers/mlflow_tracker.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/async_http.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/azure_vault.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/clones.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/condition_evaluator.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/http.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/logger.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/base.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/console.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/git.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/ipython.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/mail.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/slack.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification/webhook.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/notifications/notification_pusher.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/regex.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/retryer.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/singleton.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/v3io_clients.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/vault.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/version/__init__.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun/utils/version/version.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/SOURCES.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/dependency_links.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/entry_points.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/not-zip-safe +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/requires.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/mlrun.egg-info/top_level.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/packages.py +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/pyproject.toml +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/requirements.txt +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/setup.cfg +0 -0
- {mlrun-1.10.0rc35 → mlrun-1.10.0rc37}/setup.py +0 -0
|
@@ -304,6 +304,7 @@ default_config = {
|
|
|
304
304
|
"application": {
|
|
305
305
|
"default_sidecar_internal_port": 8050,
|
|
306
306
|
"default_authentication_mode": mlrun.common.schemas.APIGatewayAuthenticationMode.none,
|
|
307
|
+
"default_worker_number": 10000,
|
|
307
308
|
},
|
|
308
309
|
},
|
|
309
310
|
# TODO: function defaults should be moved to the function spec config above
|
|
@@ -722,7 +722,9 @@ class RunDBInterface(ABC):
|
|
|
722
722
|
tsdb_metrics: bool = False,
|
|
723
723
|
metric_list: Optional[list[str]] = None,
|
|
724
724
|
top_level: bool = False,
|
|
725
|
-
modes: Optional[
|
|
725
|
+
modes: Optional[
|
|
726
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
727
|
+
] = None,
|
|
726
728
|
uids: Optional[list[str]] = None,
|
|
727
729
|
latest_only: bool = False,
|
|
728
730
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -3771,7 +3771,9 @@ class HTTPRunDB(RunDBInterface):
|
|
|
3771
3771
|
tsdb_metrics: bool = False,
|
|
3772
3772
|
metric_list: Optional[list[str]] = None,
|
|
3773
3773
|
top_level: bool = False,
|
|
3774
|
-
modes: Optional[
|
|
3774
|
+
modes: Optional[
|
|
3775
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
3776
|
+
] = None,
|
|
3775
3777
|
uids: Optional[list[str]] = None,
|
|
3776
3778
|
latest_only: bool = False,
|
|
3777
3779
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -3802,8 +3804,13 @@ class HTTPRunDB(RunDBInterface):
|
|
|
3802
3804
|
labels = self._parse_labels(labels)
|
|
3803
3805
|
if names and isinstance(names, str):
|
|
3804
3806
|
names = [names]
|
|
3805
|
-
if
|
|
3806
|
-
modes
|
|
3807
|
+
if modes:
|
|
3808
|
+
# Ensure backward compatibility with Python 3.9 clients by converting IntEnum modes to integer values
|
|
3809
|
+
modes = (
|
|
3810
|
+
[modes.value]
|
|
3811
|
+
if isinstance(modes, mm_constants.EndpointMode)
|
|
3812
|
+
else [mode.value for mode in modes]
|
|
3813
|
+
)
|
|
3807
3814
|
response = self.api_call(
|
|
3808
3815
|
method=mlrun.common.types.HTTPMethod.GET,
|
|
3809
3816
|
path=path,
|
|
@@ -626,7 +626,9 @@ class NopDB(RunDBInterface):
|
|
|
626
626
|
tsdb_metrics: bool = False,
|
|
627
627
|
metric_list: Optional[list[str]] = None,
|
|
628
628
|
top_level: bool = False,
|
|
629
|
-
modes: Optional[
|
|
629
|
+
modes: Optional[
|
|
630
|
+
Union[mm_constants.EndpointMode, list[mm_constants.EndpointMode]]
|
|
631
|
+
] = None,
|
|
630
632
|
uids: Optional[list[str]] = None,
|
|
631
633
|
latest_only: bool = False,
|
|
632
634
|
) -> mlrun.common.schemas.ModelEndpointList:
|
|
@@ -26,6 +26,7 @@ from mlrun.common.schemas.hub import HubModuleType, HubSourceType
|
|
|
26
26
|
from mlrun.run import function_to_module, get_object
|
|
27
27
|
from mlrun.utils import logger
|
|
28
28
|
|
|
29
|
+
from ..errors import MLRunBadRequestError
|
|
29
30
|
from ..model import ModelObj
|
|
30
31
|
from ..utils import extend_hub_uri_if_needed
|
|
31
32
|
|
|
@@ -109,19 +110,33 @@ class HubModule(ModelObj):
|
|
|
109
110
|
f.write(data)
|
|
110
111
|
|
|
111
112
|
@staticmethod
|
|
112
|
-
def verify_directory(path: str) -> Path:
|
|
113
|
-
"""
|
|
113
|
+
def verify_directory(path: Optional[str] = None) -> Path:
|
|
114
|
+
"""
|
|
115
|
+
Validate that the given path is an existing directory.
|
|
116
|
+
If no path has been provided, returns current working directory.
|
|
117
|
+
"""
|
|
114
118
|
if path:
|
|
115
119
|
path = Path(path)
|
|
116
120
|
if not path.exists():
|
|
117
121
|
raise ValueError(f"Path does not exist: {path}")
|
|
118
122
|
if not path.is_dir():
|
|
119
123
|
raise ValueError(f"Path is not a directory: {path}")
|
|
120
|
-
|
|
124
|
+
return path
|
|
125
|
+
return Path(os.getcwd())
|
|
126
|
+
|
|
127
|
+
def get_module_file_path(self):
|
|
128
|
+
if not self.local_path:
|
|
129
|
+
raise MLRunBadRequestError(
|
|
130
|
+
"module files haven't been downloaded yet, try calling download_module_files() first"
|
|
131
|
+
)
|
|
132
|
+
return str(Path(self.local_path) / self.filename)
|
|
121
133
|
|
|
122
134
|
|
|
123
135
|
def get_hub_module(
|
|
124
|
-
url="",
|
|
136
|
+
url: str = "",
|
|
137
|
+
download_files: Optional[bool] = True,
|
|
138
|
+
secrets: Optional[dict] = None,
|
|
139
|
+
local_path: Optional[str] = None,
|
|
125
140
|
) -> HubModule:
|
|
126
141
|
"""
|
|
127
142
|
Get a hub-module object containing metadata of the requested module.
|
|
@@ -667,7 +667,7 @@ class ImageBuilder(ModelObj):
|
|
|
667
667
|
"""
|
|
668
668
|
requirements = requirements or []
|
|
669
669
|
self._verify_list(requirements, "requirements")
|
|
670
|
-
resolved_requirements = self.
|
|
670
|
+
resolved_requirements = self.resolve_requirements(
|
|
671
671
|
requirements, requirements_file
|
|
672
672
|
)
|
|
673
673
|
requirements = self.requirements or [] if not overwrite else []
|
|
@@ -680,7 +680,7 @@ class ImageBuilder(ModelObj):
|
|
|
680
680
|
self.requirements = requirements
|
|
681
681
|
|
|
682
682
|
@staticmethod
|
|
683
|
-
def
|
|
683
|
+
def resolve_requirements(requirements: list, requirements_file: str = "") -> list:
|
|
684
684
|
requirements = requirements or []
|
|
685
685
|
requirements_to_resolve = []
|
|
686
686
|
|
|
@@ -30,8 +30,9 @@ from mlrun.common.schemas.model_monitoring import (
|
|
|
30
30
|
FunctionURI,
|
|
31
31
|
)
|
|
32
32
|
from mlrun.data_types.infer import InferOptions, get_df_stats
|
|
33
|
-
from mlrun.utils import datetime_now, logger
|
|
33
|
+
from mlrun.utils import check_if_hub_uri, datetime_now, logger, merge_requirements
|
|
34
34
|
|
|
35
|
+
from ..common.schemas.hub import HubModuleType
|
|
35
36
|
from .helpers import update_model_endpoint_last_request
|
|
36
37
|
|
|
37
38
|
# A union of all supported dataset types:
|
|
@@ -548,8 +549,9 @@ def _create_model_monitoring_function_base(
|
|
|
548
549
|
name: typing.Optional[str] = None,
|
|
549
550
|
image: typing.Optional[str] = None,
|
|
550
551
|
tag: typing.Optional[str] = None,
|
|
551
|
-
requirements: typing.Union[
|
|
552
|
+
requirements: typing.Union[list[str], None] = None,
|
|
552
553
|
requirements_file: str = "",
|
|
554
|
+
local_path: typing.Optional[str] = None,
|
|
553
555
|
**application_kwargs,
|
|
554
556
|
) -> mlrun.runtimes.ServingRuntime:
|
|
555
557
|
"""
|
|
@@ -567,6 +569,19 @@ def _create_model_monitoring_function_base(
|
|
|
567
569
|
)
|
|
568
570
|
if func is None:
|
|
569
571
|
func = ""
|
|
572
|
+
if check_if_hub_uri(func):
|
|
573
|
+
hub_module = mlrun.get_hub_module(url=func, local_path=local_path)
|
|
574
|
+
if hub_module.kind != HubModuleType.monitoring_app:
|
|
575
|
+
raise mlrun.errors.MLRunInvalidArgumentError(
|
|
576
|
+
"The provided module is not a monitoring application"
|
|
577
|
+
)
|
|
578
|
+
requirements = mlrun.model.ImageBuilder.resolve_requirements(
|
|
579
|
+
requirements, requirements_file
|
|
580
|
+
)
|
|
581
|
+
requirements = merge_requirements(
|
|
582
|
+
reqs_priority=requirements, reqs_secondary=hub_module.requirements
|
|
583
|
+
)
|
|
584
|
+
func = hub_module.get_module_file_path()
|
|
570
585
|
func_obj = typing.cast(
|
|
571
586
|
mlrun.runtimes.ServingRuntime,
|
|
572
587
|
mlrun.code_to_function(
|
|
@@ -233,7 +233,7 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
233
233
|
try:
|
|
234
234
|
yield endpoints_output, application_schedules.__enter__()
|
|
235
235
|
finally:
|
|
236
|
-
if write_output:
|
|
236
|
+
if write_output and any(endpoints_output.values()):
|
|
237
237
|
logger.debug(
|
|
238
238
|
"Pushing model monitoring application job data to the writer stream",
|
|
239
239
|
passed_stream_profile=str(stream_profile),
|
|
@@ -344,7 +344,7 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
344
344
|
return result
|
|
345
345
|
|
|
346
346
|
if endpoints is not None:
|
|
347
|
-
resolved_endpoints = self.
|
|
347
|
+
resolved_endpoints = self._normalize_and_validate_endpoints(
|
|
348
348
|
project=project, endpoints=endpoints
|
|
349
349
|
)
|
|
350
350
|
if (
|
|
@@ -390,6 +390,16 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
390
390
|
context.log_result(
|
|
391
391
|
result_key, self._flatten_data_result(result)
|
|
392
392
|
)
|
|
393
|
+
# Check if no result was produced for any endpoint (e.g., due to no data in all windows)
|
|
394
|
+
if not any(endpoints_output.values()):
|
|
395
|
+
context.logger.warning(
|
|
396
|
+
"No data was found for any of the specified endpoints. "
|
|
397
|
+
"No results were produced",
|
|
398
|
+
application_name=application_name,
|
|
399
|
+
endpoints=endpoints,
|
|
400
|
+
start=start,
|
|
401
|
+
end=end,
|
|
402
|
+
)
|
|
393
403
|
else:
|
|
394
404
|
result = call_do_tracking(
|
|
395
405
|
mm_context.MonitoringApplicationContext._from_ml_ctx(
|
|
@@ -421,69 +431,97 @@ class ModelMonitoringApplicationBase(MonitoringApplicationToDict, ABC):
|
|
|
421
431
|
)
|
|
422
432
|
|
|
423
433
|
@classmethod
|
|
424
|
-
def
|
|
434
|
+
def _normalize_and_validate_endpoints(
|
|
425
435
|
cls,
|
|
426
436
|
project: "mlrun.MlrunProject",
|
|
427
437
|
endpoints: Union[
|
|
428
438
|
list[tuple[str, str]], list[list[str]], list[str], Literal["all"]
|
|
429
439
|
],
|
|
430
|
-
) ->
|
|
431
|
-
if
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
)
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
440
|
+
) -> list[tuple[str, str]]:
|
|
441
|
+
if isinstance(endpoints, list):
|
|
442
|
+
if all(
|
|
443
|
+
isinstance(endpoint, (tuple, list)) and len(endpoint) == 2
|
|
444
|
+
for endpoint in endpoints
|
|
445
|
+
):
|
|
446
|
+
# A list of [(name, uid), ...] / [[name, uid], ...] tuples/lists
|
|
447
|
+
endpoint_uids_to_names = {
|
|
448
|
+
endpoint[1]: endpoint[0] for endpoint in endpoints
|
|
449
|
+
}
|
|
450
|
+
endpoints_list = project.list_model_endpoints(
|
|
451
|
+
uids=list(endpoint_uids_to_names.keys()), latest_only=True
|
|
452
|
+
).endpoints
|
|
453
|
+
|
|
454
|
+
# Check for missing endpoint uids or name/uid mismatches
|
|
455
|
+
for endpoint in endpoints_list:
|
|
456
|
+
if (
|
|
457
|
+
endpoint_uids_to_names[cast(str, endpoint.metadata.uid)]
|
|
458
|
+
!= endpoint.metadata.name
|
|
459
|
+
):
|
|
460
|
+
raise mlrun.errors.MLRunNotFoundError(
|
|
461
|
+
"Could not find model endpoint with name "
|
|
462
|
+
f"'{endpoint_uids_to_names[cast(str, endpoint.metadata.uid)]}' "
|
|
463
|
+
f"and uid '{endpoint.metadata.uid}'"
|
|
464
|
+
)
|
|
465
|
+
missing = set(endpoint_uids_to_names.keys()) - {
|
|
466
|
+
cast(str, endpoint.metadata.uid) for endpoint in endpoints_list
|
|
467
|
+
}
|
|
468
|
+
if missing:
|
|
469
|
+
raise mlrun.errors.MLRunNotFoundError(
|
|
470
|
+
"Could not find model endpoints with the following uids: "
|
|
471
|
+
f"{missing}"
|
|
447
472
|
)
|
|
448
|
-
else:
|
|
449
|
-
raise mlrun.errors.MLRunValueError(
|
|
450
|
-
f"Could not resolve endpoints as list of [(name, uid)], {endpoints=}"
|
|
451
|
-
)
|
|
452
473
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
names=endpoint_names, latest_only=True
|
|
460
|
-
).endpoints
|
|
474
|
+
elif all(isinstance(endpoint, str) for endpoint in endpoints):
|
|
475
|
+
# A list of [name, ...] strings
|
|
476
|
+
endpoint_names = cast(list[str], endpoints)
|
|
477
|
+
endpoints_list = project.list_model_endpoints(
|
|
478
|
+
names=endpoint_names, latest_only=True
|
|
479
|
+
).endpoints
|
|
461
480
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
if endpoints_list:
|
|
465
|
-
list_endpoints_result = [
|
|
466
|
-
(endpoint.metadata.name, endpoint.metadata.uid)
|
|
467
|
-
for endpoint in endpoints_list
|
|
468
|
-
]
|
|
469
|
-
if endpoints != "all":
|
|
481
|
+
# Check for missing endpoint names
|
|
470
482
|
missing = set(endpoints) - {
|
|
471
|
-
endpoint
|
|
483
|
+
endpoint.metadata.name for endpoint in endpoints_list
|
|
472
484
|
}
|
|
473
485
|
if missing:
|
|
474
486
|
logger.warning(
|
|
475
487
|
"Could not list all the required endpoints",
|
|
476
|
-
|
|
477
|
-
|
|
488
|
+
missing_endpoints=missing,
|
|
489
|
+
endpoints_list=endpoints_list,
|
|
478
490
|
)
|
|
479
|
-
|
|
491
|
+
else:
|
|
492
|
+
raise mlrun.errors.MLRunValueError(
|
|
493
|
+
"Could not resolve the following list as a list of endpoints:\n"
|
|
494
|
+
f"{endpoints}\n"
|
|
495
|
+
"The list must be either a list of (name, uid) tuples/lists or a list of names."
|
|
496
|
+
)
|
|
497
|
+
elif endpoints == "all":
|
|
498
|
+
endpoints_list = project.list_model_endpoints(latest_only=True).endpoints
|
|
499
|
+
elif isinstance(endpoints, str):
|
|
500
|
+
raise mlrun.errors.MLRunValueError(
|
|
501
|
+
'A string input for `endpoints` can only be "all" for all the model endpoints in '
|
|
502
|
+
"the project. If you want to select a single model endpoint with the given name, "
|
|
503
|
+
f'use a list: `endpoints=["{endpoints}"]`.'
|
|
504
|
+
)
|
|
480
505
|
else:
|
|
481
|
-
|
|
482
|
-
|
|
506
|
+
raise mlrun.errors.MLRunValueError(
|
|
507
|
+
"Could not resolve the `endpoints` parameter. The parameter must be either:\n"
|
|
508
|
+
"- a list of (name, uid) tuples/lists\n"
|
|
509
|
+
"- a list of names\n"
|
|
510
|
+
'- the string "all" for all the model endpoints in the project.'
|
|
511
|
+
)
|
|
512
|
+
|
|
513
|
+
if not endpoints_list:
|
|
483
514
|
raise mlrun.errors.MLRunNotFoundError(
|
|
484
|
-
f"Did not find any model endpoints {
|
|
515
|
+
f"Did not find any model endpoints {endpoints=}"
|
|
485
516
|
)
|
|
486
517
|
|
|
518
|
+
cls._check_endpoints_first_request(endpoints_list)
|
|
519
|
+
|
|
520
|
+
return [
|
|
521
|
+
(endpoint.metadata.name, cast(str, endpoint.metadata.uid))
|
|
522
|
+
for endpoint in endpoints_list
|
|
523
|
+
]
|
|
524
|
+
|
|
487
525
|
@staticmethod
|
|
488
526
|
def _validate_and_get_window_length(
|
|
489
527
|
*, base_period: int, start_dt: datetime, end_dt: datetime
|
|
@@ -2386,8 +2386,9 @@ class MlrunProject(ModelObj):
|
|
|
2386
2386
|
handler: Optional[str] = None,
|
|
2387
2387
|
with_repo: Optional[bool] = None,
|
|
2388
2388
|
tag: Optional[str] = None,
|
|
2389
|
-
requirements: Optional[
|
|
2389
|
+
requirements: Optional[list[str]] = None,
|
|
2390
2390
|
requirements_file: str = "",
|
|
2391
|
+
local_path: Optional[str] = None,
|
|
2391
2392
|
**application_kwargs,
|
|
2392
2393
|
) -> mlrun.runtimes.RemoteRuntime:
|
|
2393
2394
|
"""
|
|
@@ -2402,7 +2403,8 @@ class MlrunProject(ModelObj):
|
|
|
2402
2403
|
)
|
|
2403
2404
|
|
|
2404
2405
|
:param func: Remote function object or spec/code URL. :code:`None` refers to the current
|
|
2405
|
-
notebook.
|
|
2406
|
+
notebook. May also be a hub URL of a module of kind model-monitoring-app in the
|
|
2407
|
+
format: hub://[{source}/]{name}[:{tag}].
|
|
2406
2408
|
:param name: Name of the function (under the project), can be specified with a tag to support
|
|
2407
2409
|
versions (e.g. myfunc:v1).
|
|
2408
2410
|
:param image: Docker image to be used, can also be specified in
|
|
@@ -2417,6 +2419,8 @@ class MlrunProject(ModelObj):
|
|
|
2417
2419
|
:param application_class: Name or an Instance of a class that implements the monitoring application.
|
|
2418
2420
|
:param application_kwargs: Additional keyword arguments to be passed to the
|
|
2419
2421
|
monitoring application's constructor.
|
|
2422
|
+
:param local_path: Path to a local directory to save the downloaded monitoring-app code files in,
|
|
2423
|
+
in case 'func' is a hub URL (defaults to current working directory).
|
|
2420
2424
|
:returns: The model monitoring remote function object.
|
|
2421
2425
|
"""
|
|
2422
2426
|
(
|
|
@@ -2433,6 +2437,7 @@ class MlrunProject(ModelObj):
|
|
|
2433
2437
|
tag,
|
|
2434
2438
|
requirements,
|
|
2435
2439
|
requirements_file,
|
|
2440
|
+
local_path,
|
|
2436
2441
|
**application_kwargs,
|
|
2437
2442
|
)
|
|
2438
2443
|
# save to project spec
|
|
@@ -2511,8 +2516,9 @@ class MlrunProject(ModelObj):
|
|
|
2511
2516
|
handler: typing.Optional[str] = None,
|
|
2512
2517
|
with_repo: typing.Optional[bool] = None,
|
|
2513
2518
|
tag: typing.Optional[str] = None,
|
|
2514
|
-
requirements: typing.Union[
|
|
2519
|
+
requirements: typing.Union[list[str], None] = None,
|
|
2515
2520
|
requirements_file: str = "",
|
|
2521
|
+
local_path: typing.Optional[str] = None,
|
|
2516
2522
|
**application_kwargs,
|
|
2517
2523
|
) -> tuple[str, mlrun.runtimes.RemoteRuntime, dict]:
|
|
2518
2524
|
import mlrun.model_monitoring.api
|
|
@@ -2529,6 +2535,7 @@ class MlrunProject(ModelObj):
|
|
|
2529
2535
|
tag=tag,
|
|
2530
2536
|
requirements=requirements,
|
|
2531
2537
|
requirements_file=requirements_file,
|
|
2538
|
+
local_path=local_path,
|
|
2532
2539
|
**application_kwargs,
|
|
2533
2540
|
)
|
|
2534
2541
|
elif isinstance(func, str) and isinstance(handler, str):
|
|
@@ -609,7 +609,7 @@ def code_to_function(
|
|
|
609
609
|
code_output: Optional[str] = "",
|
|
610
610
|
embed_code: bool = True,
|
|
611
611
|
description: Optional[str] = "",
|
|
612
|
-
requirements: Optional[
|
|
612
|
+
requirements: Optional[list[str]] = None,
|
|
613
613
|
categories: Optional[list[str]] = None,
|
|
614
614
|
labels: Optional[dict[str, str]] = None,
|
|
615
615
|
with_doc: Optional[bool] = True,
|
|
@@ -413,8 +413,7 @@ class ApplicationRuntime(RemoteRuntime):
|
|
|
413
413
|
show_on_failure=show_on_failure,
|
|
414
414
|
)
|
|
415
415
|
|
|
416
|
-
|
|
417
|
-
self._ensure_reverse_proxy_configurations(self)
|
|
416
|
+
self._ensure_reverse_proxy_configurations()
|
|
418
417
|
self._configure_application_sidecar()
|
|
419
418
|
|
|
420
419
|
# We only allow accessing the application via the API Gateway
|
|
@@ -799,27 +798,42 @@ class ApplicationRuntime(RemoteRuntime):
|
|
|
799
798
|
with_mlrun=with_mlrun,
|
|
800
799
|
)
|
|
801
800
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
801
|
+
def _ensure_reverse_proxy_configurations(self):
|
|
802
|
+
# If an HTTP trigger already exists in the spec,
|
|
803
|
+
# it means the user explicitly defined a custom configuration,
|
|
804
|
+
# so, skip automatic creation.
|
|
805
|
+
skip_http_trigger_creation = False
|
|
806
|
+
for key, value in self.spec.config.items():
|
|
807
|
+
if key.startswith("spec.triggers"):
|
|
808
|
+
if isinstance(value, dict):
|
|
809
|
+
if value.get("kind") == "http":
|
|
810
|
+
skip_http_trigger_creation = True
|
|
811
|
+
break
|
|
812
|
+
if not skip_http_trigger_creation:
|
|
813
|
+
self.with_http(
|
|
814
|
+
workers=mlrun.mlconf.function.application.default_worker_number,
|
|
815
|
+
trigger_name="application-http",
|
|
816
|
+
)
|
|
817
|
+
|
|
818
|
+
if self.spec.build.functionSourceCode or self.status.container_image:
|
|
805
819
|
return
|
|
806
820
|
|
|
807
821
|
filename, handler = ApplicationRuntime.get_filename_and_handler()
|
|
808
822
|
name, spec, code = nuclio.build_file(
|
|
809
823
|
filename,
|
|
810
|
-
name=
|
|
824
|
+
name=self.metadata.name,
|
|
811
825
|
handler=handler,
|
|
812
826
|
)
|
|
813
|
-
|
|
814
|
-
|
|
827
|
+
self.spec.function_handler = mlrun.utils.get_in(spec, "spec.handler")
|
|
828
|
+
self.spec.build.functionSourceCode = mlrun.utils.get_in(
|
|
815
829
|
spec, "spec.build.functionSourceCode"
|
|
816
830
|
)
|
|
817
|
-
|
|
831
|
+
self.spec.nuclio_runtime = mlrun.utils.get_in(spec, "spec.runtime")
|
|
818
832
|
|
|
819
833
|
# default the reverse proxy logger level to info
|
|
820
834
|
logger_sinks_key = "spec.loggerSinks"
|
|
821
|
-
if not
|
|
822
|
-
|
|
835
|
+
if not self.spec.config.get(logger_sinks_key):
|
|
836
|
+
self.set_config(
|
|
823
837
|
logger_sinks_key, [{"level": "info", "sink": "myStdoutLoggerSink"}]
|
|
824
838
|
)
|
|
825
839
|
|
|
@@ -1224,11 +1224,6 @@ class RemoteRuntime(KubeResource):
|
|
|
1224
1224
|
# try to infer the invocation url from the internal and if not exists, use external.
|
|
1225
1225
|
# $$$$ we do not want to use the external invocation url (e.g.: ingress, nodePort, etc.)
|
|
1226
1226
|
|
|
1227
|
-
# check function state before invocation
|
|
1228
|
-
state, _, _ = self._get_state()
|
|
1229
|
-
if state not in ["ready", "scaledToZero"]:
|
|
1230
|
-
logger.warning(f"Function is in the {state} state")
|
|
1231
|
-
|
|
1232
1227
|
# prefer internal invocation url if running inside k8s cluster
|
|
1233
1228
|
if (
|
|
1234
1229
|
not force_external_address
|
|
@@ -679,9 +679,13 @@ class ServingRuntime(RemoteRuntime):
|
|
|
679
679
|
f"function {function} is used in steps and is not defined, "
|
|
680
680
|
"use the .add_child_function() to specify child function attributes"
|
|
681
681
|
)
|
|
682
|
-
if
|
|
683
|
-
isinstance(
|
|
684
|
-
|
|
682
|
+
if (
|
|
683
|
+
isinstance(self.spec.graph, RootFlowStep)
|
|
684
|
+
and any(
|
|
685
|
+
isinstance(step_type, mlrun.serving.states.ModelRunnerStep)
|
|
686
|
+
for step_type in self.spec.graph.steps.values()
|
|
687
|
+
)
|
|
688
|
+
and self.spec.build.functionSourceCode
|
|
685
689
|
):
|
|
686
690
|
# Add import for LLModel
|
|
687
691
|
decoded_code = b64decode(self.spec.build.functionSourceCode).decode("utf-8")
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
-
|
|
14
|
+
import json
|
|
15
15
|
from ast import literal_eval
|
|
16
|
-
from os import environ
|
|
16
|
+
from os import environ
|
|
17
17
|
from typing import Callable, Optional, Union
|
|
18
18
|
|
|
19
19
|
from .utils import AzureVaultStore, list2dict
|
|
@@ -161,6 +161,9 @@ def get_secret_or_env(
|
|
|
161
161
|
4. An MLRun-generated env. variable, mounted from a project secret (to be used in MLRun runtimes)
|
|
162
162
|
5. The default value
|
|
163
163
|
|
|
164
|
+
Also supports discovering the value inside any environment variable that contains a JSON-encoded list
|
|
165
|
+
of dicts with fields: {'name': 'KEY', 'value': 'VAL', 'value_from': ...}. This fallback is applied
|
|
166
|
+
after checking normal environment variables and before returning the default.
|
|
164
167
|
Example::
|
|
165
168
|
|
|
166
169
|
secrets = {"KEY1": "VALUE1"}
|
|
@@ -187,18 +190,56 @@ def get_secret_or_env(
|
|
|
187
190
|
if prefix:
|
|
188
191
|
key = f"{prefix}_{key}"
|
|
189
192
|
|
|
190
|
-
value = None
|
|
191
193
|
if secret_provider:
|
|
192
194
|
if isinstance(secret_provider, (dict, SecretsStore)):
|
|
193
|
-
|
|
195
|
+
secret_value = secret_provider.get(key)
|
|
194
196
|
else:
|
|
195
|
-
|
|
196
|
-
if
|
|
197
|
-
return
|
|
197
|
+
secret_value = secret_provider(key)
|
|
198
|
+
if secret_value:
|
|
199
|
+
return secret_value
|
|
200
|
+
|
|
201
|
+
direct_environment_value = environ.get(key)
|
|
202
|
+
if direct_environment_value:
|
|
203
|
+
return direct_environment_value
|
|
204
|
+
|
|
205
|
+
json_list_value = _find_value_in_json_env_lists(key)
|
|
206
|
+
if json_list_value is not None:
|
|
207
|
+
return json_list_value
|
|
208
|
+
|
|
209
|
+
mlrun_env_key = SecretsStore.k8s_env_variable_name_for_secret(key)
|
|
210
|
+
mlrun_env_value = environ.get(mlrun_env_key)
|
|
211
|
+
if mlrun_env_value:
|
|
212
|
+
return mlrun_env_value
|
|
198
213
|
|
|
199
|
-
return
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
214
|
+
return default
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def _find_value_in_json_env_lists(
|
|
218
|
+
secret_name: str,
|
|
219
|
+
) -> Optional[str]:
|
|
220
|
+
"""
|
|
221
|
+
Scan all environment variables. If any env var contains a JSON-encoded list
|
|
222
|
+
of dicts shaped like {'name': str, 'value': str|None, 'value_from': ...},
|
|
223
|
+
return the 'value' for the entry whose 'name' matches secret_name.
|
|
224
|
+
"""
|
|
225
|
+
for environment_variable_value in environ.values():
|
|
226
|
+
if not environment_variable_value or not isinstance(
|
|
227
|
+
environment_variable_value, str
|
|
228
|
+
):
|
|
229
|
+
continue
|
|
230
|
+
# Fast precheck to skip obvious non-JSON strings
|
|
231
|
+
first_char = environment_variable_value.lstrip()[:1]
|
|
232
|
+
if first_char not in ("[", "{"):
|
|
233
|
+
continue
|
|
234
|
+
try:
|
|
235
|
+
parsed_value = json.loads(environment_variable_value)
|
|
236
|
+
except ValueError:
|
|
237
|
+
continue
|
|
238
|
+
if isinstance(parsed_value, list):
|
|
239
|
+
for entry in parsed_value:
|
|
240
|
+
if isinstance(entry, dict) and entry.get("name") == secret_name:
|
|
241
|
+
value_in_entry = entry.get("value")
|
|
242
|
+
# Match original semantics: empty string is treated as "not found"
|
|
243
|
+
if value_in_entry:
|
|
244
|
+
return value_in_entry
|
|
245
|
+
return None
|
|
@@ -584,6 +584,16 @@ async def async_execute_graph(
|
|
|
584
584
|
read_as_lists: bool,
|
|
585
585
|
nest_under_inputs: bool,
|
|
586
586
|
) -> list[Any]:
|
|
587
|
+
# Validate that data parameter is a DataItem and not passed via params
|
|
588
|
+
if not isinstance(data, DataItem):
|
|
589
|
+
raise MLRunInvalidArgumentError(
|
|
590
|
+
f"Parameter 'data' has type hint 'DataItem' but got {type(data).__name__} instead. "
|
|
591
|
+
f"Data files and artifacts must be passed via the 'inputs' parameter, not 'params'. "
|
|
592
|
+
f"The 'params' parameter is for simple configuration values (strings, numbers, booleans), "
|
|
593
|
+
f"while 'inputs' is for data files that need to be loaded. "
|
|
594
|
+
f"Example: run_function(..., inputs={{'data': 'path/to/data.csv'}}, params={{other_config: value}})"
|
|
595
|
+
)
|
|
596
|
+
|
|
587
597
|
spec = mlrun.utils.get_serving_spec()
|
|
588
598
|
modname = None
|
|
589
599
|
code = os.getenv("MLRUN_EXEC_CODE")
|