Skip to content
Prev Previous commit
Next Next commit
style: apply ruff formatting fixes to registry.py
Signed-off-by: Venkateswarlu Boggavarapu <mailtoboggavarapu@gmail.com>
  • Loading branch information
mailtoboggavarapu-coder authored Apr 22, 2026
commit eb7175877975bbd2bc32b804d2c0c3a08613d90e
9 changes: 4 additions & 5 deletions sdk/python/feast/infra/registry/registry.py
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ def apply_data_source(
return
else:
# Preserve created_timestamp from existing data source
data_source.created_timestamp = existing_data_source.created_timestamp
data_source.created_timestamp = (
existing_data_source.created_timestamp
)
del registry.data_sources[idx]
break

Expand All @@ -424,10 +426,7 @@ def delete_data_source(self, name: str, project: str, commit: bool = True):
for idx, data_source_proto in enumerate(
self.cached_registry_proto.data_sources
):
if (
data_source_proto.name == name
and data_source_proto.project == project
):
if data_source_proto.name == name and data_source_proto.project == project:
del self.cached_registry_proto.data_sources[idx]
if commit:
self.commit()
Expand Down