Repo config. Typically loaded from `feature_store.yaml`
| 299 | |
| 300 | |
| 301 | class RepoConfig(FeastBaseModel): |
| 302 | """Repo config. Typically loaded from `feature_store.yaml`""" |
| 303 | |
| 304 | project: StrictStr |
| 305 | """ str: This acts as a Feast unique project identifier. This can be any alphanumeric string and can have '_' but can not start with '_'. |
| 306 | You can have multiple independent feature repositories deployed to the same cloud |
| 307 | provider account, as long as they have different project identifier. |
| 308 | """ |
| 309 | |
| 310 | project_description: Optional[StrictStr] = None |
| 311 | """ str: Optional description of the project to provide context about the project's purpose and usage. |
| 312 | """ |
| 313 | |
| 314 | provider: StrictStr = "local" |
| 315 | """ str: local or gcp or aws """ |
| 316 | |
| 317 | registry_config: Any = Field(alias="registry", default="data/registry.db") |
| 318 | """ Configures the registry. |
| 319 | Can be: |
| 320 | 1. str: a path to a file based registry (a local path, or remote object storage path, e.g. a GCS URI) |
| 321 | 2. RegistryConfig: A fully specified file based registry or SQL based registry |
| 322 | 3. SnowflakeRegistryConfig: Using a Snowflake table to store the registry |
| 323 | """ |
| 324 | |
| 325 | online_config: Any = Field(None, alias="online_store") |
| 326 | """ OnlineStoreConfig: Online store configuration (optional depending on provider) """ |
| 327 | |
| 328 | auth: Any = Field(None, alias="auth") |
| 329 | """ auth: Optional if the services needs the authentication against IDPs (optional depending on provider) """ |
| 330 | |
| 331 | offline_config: Any = Field(None, alias="offline_store") |
| 332 | """ OfflineStoreConfig: Offline store configuration (optional depending on provider) """ |
| 333 | |
| 334 | batch_engine_config: Any = Field(None, alias="batch_engine") |
| 335 | """ BatchMaterializationEngine: Batch materialization configuration (optional depending on provider)""" |
| 336 | |
| 337 | feature_server: Optional[Any] = None |
| 338 | """ FeatureServerConfig: Feature server configuration (optional depending on provider) """ |
| 339 | |
| 340 | flags: Any = None |
| 341 | """ Flags (deprecated field): Feature flags for experimental features """ |
| 342 | |
| 343 | repo_path: Optional[Path] = None |
| 344 | """When using relative path in FileSource path, this parameter is mandatory""" |
| 345 | |
| 346 | entity_key_serialization_version: StrictInt = 3 |
| 347 | """ Entity key serialization version: This version is used to control what serialization scheme is |
| 348 | used when writing data to the online store. |
| 349 | A value of 3 uses the latest serialization scheme, supported as of Feast 0.38. |
| 350 | |
| 351 | Version Schemas: |
| 352 | v3: add entity_key value length to serialized bytes to enable deserialization, which can be used in retrieval of entity_key in document retrieval. |
| 353 | """ |
| 354 | |
| 355 | coerce_tz_aware: Optional[bool] = True |
| 356 | """ If True, coerces entity_df timestamp columns to be timezone aware (to UTC by default). """ |
| 357 | |
| 358 | materialization_config: MaterializationConfig = Field( |