We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0435d commit 41a7a4aCopy full SHA for 41a7a4a
1 file changed
sdk/python/feast/data_source.py
@@ -456,7 +456,7 @@ def from_proto(data_source):
456
data_source_obj = FileSource(
457
field_mapping=data_source.field_mapping,
458
file_format=FileFormat.from_proto(data_source.file_options.file_format),
459
- file_url=data_source.file_options.file_url,
+ path=data_source.file_options.file_url,
460
event_timestamp_column=data_source.event_timestamp_column,
461
created_timestamp_column=data_source.created_timestamp_column,
462
date_partition_column=data_source.date_partition_column,
@@ -553,8 +553,7 @@ def __init__(
553
raise ValueError(
554
'No "path" argument provided. Please set "path" to the location of your file source.'
555
)
556
-
557
- if file_url is not None:
+ if file_url:
558
from warnings import warn
559
560
warn(
0 commit comments