Search…
.feastignore

Overview

.feastignore is a file that is placed at the root of the Feature Repository. This file contains paths that should be ignored when running feast apply. An example .feastignore is shown below:
.feastignore
1
# Ignore virtual environment
2
venv
3
4
# Ignore a specific Python file
5
scripts/foo.py
6
7
# Ignore all Python files directly under scripts directory
8
scripts/*.py
9
10
# Ignore all "foo.py" anywhere under scripts directory
11
scripts/**/foo.py
Copied!
.feastignore file is optional. If the file can not be found, every Python file in the feature repo directory will be parsed by feast apply.

Feast Ignore Patterns

Pattern
Example matches
Explanation
venv
venv/foo.py venv/a/foo.py
You can specify a path to a specific directory. Everything in that directory will be ignored.
scripts/foo.py
scripts/foo.py
You can specify a path to a specific file. Only that file will be ignored.
scripts/*.py
scripts/foo.py scripts/bar.py
You can specify an asterisk (*) anywhere in the expression. An asterisk matches zero or more characters, except "/".
scripts/**/foo.py
scripts/foo.py scripts/a/foo.py scripts/a/b/foo.py
You can specify a double asterisk (**) anywhere in the expression. A double asterisk matches zero or more directories.
Last modified 20d ago
Export as PDF
Copy link