You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect an error. It is a valid format to the correct endpoint, but is an entity that doesn't exist. A 422 unprocessable entity error would probably make sense here.
Current Behavior
Method FeatureStore().push receives a push_source_name indicating which feature views are impacted by the new data being pushed. The set of feature views is filtered down here. If a push source name is provided that doesn't actually exist then the resulting set is empty, the loop is skipped and the function is a no-op. This successful return means that the /push call in feature_server.py never throws to return an error code.
Steps to reproduce
start a local feature server
make a push call to a push source that does not exist
Specifications
Version:
Platform:
Subsystem:
Possible Solution
Raise a custom exception when no push source is found with the provided name
Catch that exception in the feature server
Return 422 in that case
If this is considered reasonable, I'm happy to make the contribution myself.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When we
POST
to a push source that doesn't exist like soI'd expect an error. It is a valid format to the correct endpoint, but is an entity that doesn't exist. A 422 unprocessable entity error would probably make sense here.
Current Behavior
Method
FeatureStore().push
receives apush_source_name
indicating which feature views are impacted by the new data being pushed. The set of feature views is filtered down here. If a push source name is provided that doesn't actually exist then the resulting set is empty, the loop is skipped and the function is a no-op. This successful return means that the/push
call in feature_server.py never throws to return an error code.Steps to reproduce
Specifications
Possible Solution
If this is considered reasonable, I'm happy to make the contribution myself.
The text was updated successfully, but these errors were encountered: