mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Apply clarity and docstrings
This commit is contained in:
parent
0354659f9d
commit
2602ddc379
3 changed files with 15 additions and 3 deletions
|
@ -383,7 +383,7 @@ class ApplicationServiceTransactionStore(SQLBaseStore):
|
|||
service(ApplicationService): The service who the transaction is for.
|
||||
events(list<Event>): A list of events to put in the transaction.
|
||||
Returns:
|
||||
ApplicationServiceTransaction: A new transaction.
|
||||
AppServiceTransaction: A new transaction.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
@ -399,3 +399,15 @@ class ApplicationServiceTransactionStore(SQLBaseStore):
|
|||
successfully.
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_oldest_unsent_txn(self, service):
|
||||
"""Get the oldest transaction which has not been sent for this
|
||||
service.
|
||||
|
||||
Args:
|
||||
service(ApplicationService): The app service to get the oldest txn.
|
||||
Returns:
|
||||
A Deferred which resolves to an AppServiceTransaction or
|
||||
None.
|
||||
"""
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue