Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Zhang <[email protected]>
  • Loading branch information
kevjumba committed Mar 31, 2022
1 parent 4f6ffef commit 291463a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/infra/offline_stores/file_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ def __init__(
)
self._file_url = file_url
self._uri = uri
if not self._uri:
self._uri = self._file_url
self._s3_endpoint_override = s3_endpoint_override

@property
Expand Down Expand Up @@ -289,7 +291,6 @@ def to_proto(self) -> DataSourceProto.FileOptions:
Returns:
FileOptionsProto protobuf
"""

file_options_proto = DataSourceProto.FileOptions(
file_format=(
None if self.file_format is None else self.file_format.to_proto()
Expand Down

0 comments on commit 291463a

Please sign in to comment.