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
Add a recorder decorator argument so implementors can save results to logs, db, or whatever they way
TODO Try to find a better way to add url, encoding, timeout, custom_headers, and signing_secret to requests
>>>importuuid>>>fromwebhookimportwebhook>>>frommystffimportsender_func, save_to_db>>>>>>@webhook(sender=sender_func, hasher=uuid.uuid4, recorder=save_to_db)>>>asyncdefbasic(wife, husband, url, encoding, timeout, custom_headers, signing_secret):
>>># I'm not happy with how arguments are managed right now, still thinking about it>>>return {"husband": husband, "wife": wife}
>>>awaitbasic(...argshere)
The text was updated successfully, but these errors were encountered:
Objectives for new design
The current design is ungainly in places, let's improve on it!
Old API
Problems:
New API
Objectives:
The text was updated successfully, but these errors were encountered: