Skip to content

Commit

Permalink
added push source as batch source for feature view
Browse files Browse the repository at this point in the history
  • Loading branch information
mbackes committed Jan 16, 2024
1 parent a51e70a commit 341d77e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import sys
from datetime import datetime, timedelta
from typing import Dict, List, Optional, Tuple
from typing import Dict, List, Optional, Tuple, Union

import dill
from pydantic import BaseModel
Expand Down Expand Up @@ -64,7 +64,7 @@ class FeatureViewModel(BaseFeatureViewModel):
original_entities: List[EntityModel] = []
original_schema: Optional[List[FieldModel]]
ttl: Optional[timedelta]
batch_source: AnyBatchDataSource
batch_source: Union[AnyBatchDataSource, PushSourceModel]
stream_source: Optional[KafkaSourceModel]
online: bool
description: str
Expand Down

0 comments on commit 341d77e

Please sign in to comment.