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
Copy file name to clipboardexpand all lines: CHANGELOG.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,19 @@
2
2
3
3
## [Unreleased]
4
4
5
+
### Added
6
+
7
+
-:sparkles: Include ["fastapi*/] dynamically in the config loader config patterns
8
+
9
+
### Fixed
10
+
11
+
-:bug: Catch fastapi extra dependecies errors, and make their imports lazy.
12
+
5
13
## [0.2.0] - 2024-02-12
6
14
7
15
### Added
8
16
9
-
-:sparkles: Introduce Kedro FastAPI Server: A framework for building production-ready REST APIs using Kedro, FastAPI and Gunicorn.
17
+
-:sparkles: Introduce Kedro FastAPI Server: A framework for building production-ready REST APIs using Kedro, FastAPI and Gunicorn ([#18](https://github.com/takikadiri/kedro-boot/pull/18))
10
18
-:sparkles: Support dataset factories ([#5](https://github.com/takikadiri/kedro-boot/pull/5))
11
19
-:sparkles: Allow declaring apps through project settings and CLIs ([#16](https://github.com/takikadiri/kedro-boot/pull/16))
12
20
-:sparkles: Adding `boot_project` and `boot_package` allowing standalone apps to boot a session ([#17](https://github.com/takikadiri/kedro-boot/pull/17))
Your fastapi app objects will be mapped with kedro pipeline objects, and the run results will be injected into your KedroFastAPI object through [FastAPI dependency injection](https://fastapi.tiangolo.com/tutorial/dependencies/). Here is an illustration of the kedro <-> fastapi objects mapping:
A default FastAPI app is used if no FastAPI app given. It would serve a single endpoint that run your selected pipeline
42
+
A default FastAPI app is used if no FastAPI app given. It would serve a single endpoint that run in background your selected pipeline
43
43
44
44
```
45
-
kedro boot fastapi
45
+
kedro boot fastapi <kedro_run_args>
46
46
```
47
47
48
48
These production-ready features would be natively included in your FastAPI apps:
@@ -51,7 +51,7 @@ These production-ready features would be natively included in your FastAPI apps:
51
51
- [Pyctuator](https://github.com/SolarEdgeTech/pyctuator) that report some service health metrology and application states. Usually used by service orchestrators (kubernetes) or monitoring to track service health and ensure it's high availability
52
52
- Multiple environments configurations, leveraging kedro's OmegaConfigLoader. ``["fastapi*/"]`` config pattern could be used to configure the web server. Configs could also be passed as CLI args (refer to --help)
53
53
54
-
You can refer to the spaceflights [Kedro FastAPI examples](examples/src/spaceflights_kedro_fastapi/app.py) that showcases serving multiples endpoints operations that are mapped to differents pipeline namespaces
54
+
You can learn more by testing the [spaceflights Kedro FastAPI example](examples/README.md#rest-api-with-kedro-fastapi-server) that showcases serving multiples endpoints operations that are mapped to differents pipeline namespaces
In this example, all the namespaces and their namespaced datasets (inputs, outputs, parameters) would infer compilation specs and therefore would be exposed to the Application.
96
96
97
-
You can use kedro-viz to visualize the datasets that woulc be exposed to the kedro boot apps. In the figure below, we see clearly that ``inference.feature_store`` and ``inference.predictions`` will be exposed to the applicaton (the blue one).
97
+
You can use kedro-viz to visualize the datasets that woulc be exposed to the kedro boot apps. In the figure below, for the ``inference`` namespace, we see clearly that ``inference.feature_store`` and ``inference.predictions`` will be exposed to the applicaton (the blue one).
Below are the different categories of datasets that forms the compiled catalog.
101
+
Below are the differents categories of datasets that forms the compiled catalog.
102
102
103
103
- Inputs: inputs datasets that are be injected by the app at iteration time.
104
104
- Outputs: outputs dataset that hold the run results.
105
105
- Parameters: parameters that are injected by the app at iteration time.
106
106
- Artifacts: artifacts datasets that are materialized (loaded as MemoryDataset) at startup time.
107
107
- Templates: template datasets that contains ${itertime_params: param_name}. Their attributes are interpolated at iteration time.
108
108
109
-
You can compile the catalog without actually using it in a Kedro Boot App. This is helpful for verifying if the expected artifacts datasets are correctly infered or if the template datasets are correctly detected.
109
+
You can compile the catalog without actually using it in a Kedro Boot App. This is helpful for verifying if the expected artifacts datasets are correctly infered or if the template datasets are correctly detected. Here is an example of the catalog compilation report for a pipeline that contains an ``inference`` namespace.
You can found a complete example of a steamlit app that serve an ML model in the [Kedro Boot Examples](examples) project. We invite you to test it to gain a better understanding of Kedro Boot's ``boot_project`` or ``boot_package`` interfaces
167
+
You can found a complete example of a steamlit app that serve an ML model in the [Kedro Boot Examples](examples/README.md#data-app-with-streamlit-standalone-mode) project. We invite you to test it to gain a better understanding of Kedro Boot's ``boot_project`` or ``boot_package`` interfaces
168
168
169
169
### Embedded mode : The application is embeded inside kedro project
170
170
@@ -212,7 +212,7 @@ kedro boot run <kedro_run_args>
212
212
kedro boot run --app path.to.your.KedroBootApp <kedro_run_args>
213
213
````
214
214
215
-
You can fnd two examples of using the embeded mode in the [Kedro Boot Examples](examples) project
215
+
You can find an example of a [Monte Carlo App embeded into a kedro project](examples/README.md#monte-carlo-simulation-embeded-mode)
0 commit comments