Skip to content

Commit

Permalink
chore: Rename lambda to aws_lambda (feast-dev#3127)
Browse files Browse the repository at this point in the history
* Add batch materialization engine docs to Gitbook structure

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Add snowflake to `__init__.py`

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Rename `lambda` to `aws_lambda` to allow Python imports

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Format

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Lint

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
  • Loading branch information
felixwang9817 authored Aug 24, 2022
1 parent 9af5bc2 commit 66ee5d8
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
* [Google Cloud Platform](reference/providers/google-cloud-platform.md)
* [Amazon Web Services](reference/providers/amazon-web-services.md)
* [Azure](reference/providers/azure.md)
* [Batch Materialization Engines](reference/batch-materialization/README.md)
* [Bytewax](reference/batch-materialization/bytewax.md)
* [Snowflake](reference/batch-materialization/snowflake.md)
* [Feature repository](reference/feature-repository/README.md)
* [feature\_store.yaml](reference/feature-repository/feature-store-yaml.md)
* [.feastignore](reference/feature-repository/feast-ignore.md)
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Local Engine
(Alpha) Lambda Based Engine
---------------------------

.. automodule:: feast.infra.materialization.lambda.lambda_engine
.. automodule:: feast.infra.materialization.aws_lambda.lambda_engine
:members:
:noindex:

Expand Down
6 changes: 6 additions & 0 deletions sdk/python/feast/infra/materialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
MaterializationTask,
)
from .local_engine import LocalMaterializationEngine, LocalMaterializationJob
from .snowflake_engine import (
SnowflakeMaterializationEngine,
SnowflakeMaterializationJob,
)

__all__ = [
"MaterializationJob",
"MaterializationTask",
"BatchMaterializationEngine",
"LocalMaterializationEngine",
"LocalMaterializationJob",
"SnowflakeMaterializationEngine",
"SnowflakeMaterializationJob",
]
2 changes: 1 addition & 1 deletion sdk/python/feast/repo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
BATCH_ENGINE_CLASS_FOR_TYPE = {
"local": "feast.infra.materialization.LocalMaterializationEngine",
"snowflake.engine": "feast.infra.materialization.snowflake_engine.SnowflakeMaterializationEngine",
"lambda": "feast.infra.materialization.lambda.lambda_engine.LambdaMaterializationEngine",
"lambda": "feast.infra.materialization.aws_lambda.lambda_engine.LambdaMaterializationEngine",
"bytewax": "feast.infra.materialization.contrib.bytewax.bytewax_materialization_engine.BytewaxMaterializationEngine",
}

Expand Down

0 comments on commit 66ee5d8

Please sign in to comment.