File tree Expand file tree Collapse file tree 2 files changed +43
-24
lines changed
Expand file tree Collapse file tree 2 files changed +43
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Iguazio
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ #
15+
16+ import mlrun
17+
18+
19+ def setup (project : mlrun .projects .MlrunProject ) -> mlrun .projects .MlrunProject :
20+ project .set_function (
21+ name = "prep-data" ,
22+ func = "prep_data.py" ,
23+ kind = "job" ,
24+ handler = "prep_data" ,
25+ )
26+
27+ project .set_function (
28+ name = "gen-iris" ,
29+ func = "gen_iris.py" ,
30+ kind = "job" ,
31+ handler = "iris_generator" ,
32+ )
33+
34+ project .set_function ("hub://auto-trainer" , "auto-trainer" )
35+ project .set_function ("hub://v2-model-server" , "serving" )
36+ project .set_function ("hub://describe" )
37+
38+ project .log_artifact (
39+ "data" ,
40+ target_path = "https://s3.wasabisys.com/iguazio/data/iris/iris.data.raw.csv" ,
41+ )
42+
43+ return project
You can’t perform that action at this time.
0 commit comments