Skip to content

Commit e2c5c13

Browse files
authored
docs: updating the creating-a-custom-materialization-engine.md docs to work with the latest import paths (feast-dev#5315)
Signed-off-by: Dan Baron <[email protected]>
1 parent ad02e46 commit e2c5c13

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ The list below contains the functionality that contributors are planning to deve
207207
* **Feature Serving**
208208
* [x] Python Client
209209
* [x] [Python feature server](https://docs.feast.dev/reference/feature-servers/python-feature-server)
210+
* [x] [Feast Operator (alpha)](https://github.com/feast-dev/feast/blob/master/infra/feast-operator/README.md)
210211
* [x] [Java feature server (alpha)](https://github.com/feast-dev/feast/blob/master/infra/charts/feast/README.md)
211212
* [x] [Go feature server (alpha)](https://docs.feast.dev/reference/feature-servers/go-feature-server)
212213
* [x] [Offline Feature Server (alpha)](https://docs.feast.dev/reference/feature-servers/offline-feature-server)

docs/how-to-guides/customizing-feast/creating-a-custom-materialization-engine.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ The fastest way to add custom logic to Feast is to extend an existing materializ
1818

1919
#### Step 1: Define an Engine class
2020

21-
The first step is to define a custom materialization engine class. We've created the `MyCustomEngine` below.
21+
The first step is to define a custom materialization engine class. We've created the `MyCustomEngine` below. This python file can be placed in your `feature_repo` directory if you're following the Quickstart guide.
2222

2323
```python
24-
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
24+
from typing import List, Sequence, Union
2525

2626
from feast.entity import Entity
2727
from feast.feature_view import FeatureView
2828
from feast.batch_feature_view import BatchFeatureView
2929
from feast.stream_feature_view import StreamFeatureView
30-
from feast.infra.materialization import LocalMaterializationEngine, LocalMaterializationJob, MaterializationTask
30+
from feast.infra.materialization.local_engine import LocalMaterializationJob, LocalMaterializationEngine
31+
from feast.infra.common.materialization_job import MaterializationTask
3132
from feast.infra.offline_stores.offline_store import OfflineStore
3233
from feast.infra.online_stores.online_store import OnlineStore
3334
from feast.repo_config import RepoConfig

0 commit comments

Comments
 (0)