Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
  • Loading branch information
kevjumba committed Jul 22, 2022
commit 98134bff42ba90b9d06028fb4cfea8ca070154f2
16 changes: 8 additions & 8 deletions docs/how-to-guides/adding-a-new-offline-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,15 +383,15 @@ Even if you have created the `OfflineStore` class in a separate repo, you can st

A sample `FULL_REPO_CONFIGS_MODULE` looks something like this:

{% code title="feature_repo/repo.py" %}
```python
from feast.infra.offline_stores.contrib.postgres_offline_store.tests.data_source import (
PostgreSQLDataSourceCreator,
)
{% tab title="sdk/python/feast/infra/online_stores/contrib/postgres_repo_configuration.py" %}
```python
from feast.infra.offline_stores.contrib.postgres_offline_store.tests.data_source import (
PostgreSQLDataSourceCreator,
)

AVAILABLE_OFFLINE_STORES = [("local", PostgreSQLDataSourceCreator)]
```
{% endcode %}
AVAILABLE_OFFLINE_STORES = [("local", PostgreSQLDataSourceCreator)]
```
{% tab %}

4. You should swap out the `FULL_REPO_CONFIGS` environment variable and run the integration tests against your offline store. In the example repo, the file that overwrites `FULL_REPO_CONFIGS` is `feast_custom_offline_store/feast_tests.py`, so you would run:

Expand Down