mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:43:50 +01:00
Google doc style
This commit is contained in:
parent
2cfdfee572
commit
0cbb6b0f52
1 changed files with 5 additions and 4 deletions
|
@ -195,10 +195,11 @@ class SQLBaseStore(object):
|
||||||
|
|
||||||
def _simple_upsert(self, table, keyvalues, values):
|
def _simple_upsert(self, table, keyvalues, values):
|
||||||
"""
|
"""
|
||||||
:param table: The table to upsert into
|
Args:
|
||||||
:param keyvalues: Dict of the unique key tables and their new values
|
table (str): The table to upsert into
|
||||||
:param values: Dict of all the nonunique columns and their new values
|
keyvalues (dict): The unique key tables and their new values
|
||||||
:return: A deferred
|
values (dict): The nonunique columns and their new values
|
||||||
|
Returns: A deferred
|
||||||
"""
|
"""
|
||||||
return self.runInteraction(
|
return self.runInteraction(
|
||||||
"_simple_upsert",
|
"_simple_upsert",
|
||||||
|
|
Loading…
Reference in a new issue