-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Node, Trans and User classes do not have the same signatures:
Lines 2 to 4 in c28cded
class Node(): def __init__(self, response, full_dehydrate=False): Lines 16 to 19 in c28cded
class User(): """ User Record """ def __init__(self, response, http, full_dehydrate=False, logging=False): SynapsePy/synapsepy/transaction.py
Lines 2 to 6 in c28cded
class Trans(): def __init__(self, response): self.id = response['_id'] self.body = response
It's inconsistent and prevents usage of such structures for webhooks (we're currently implementing webhooks and we want to use these structures, but it doesn't work as expected).
Metadata
Metadata
Assignees
Labels
No labels