vetiver.VetiverAPI.vetiver_post
vetiver.VetiverAPI.vetiver_post#
- VetiverAPI.vetiver_post(endpoint_fx: Callable, endpoint_name: str = 'custom_endpoint')#
Create new POST endpoint
- Parameters
endpoint_fx (Callable) – Custom function to be run at endpoint
endpoint_name (str) – Name of endpoint
- Returns
Key: endpoint_name Value: Output of endpoint_fx, in list format
- Return type
dict